As an alternative to generating a PowerShell script, you can use PowerShell to trigger jobs that have been created in the Content Matrix Console.
To access the PowerShell cmdlets for triggering jobs to run:
Open a PowerShell or PowerShell ISE session and add the PowerShell snap-ins for the application framework.
The following cmdlets for running jobs are now available:
·Get-MLJobs
·Invoke-MLJob
To retrieve information about jobs in the Console:
1.Select (from the PowerShell ISE Command Window) or enter Get-MLJobs.
2.(Optional) Enter one or more of the following parameters if you want to filter jobs:
·JobNameOrTitle
·Source
·Target
NOTE: If you do not apply filters, all jobs in the Console will be retrieved.
3.Run the cmdlet.
Example scripts:
Get-MLJobs
Get-MLJobs -Source https://outlook.office.com/User mailbox/Drafts -Target https://metalogixsoftware.sharepoint.com/sites/HR/Ma -JobStatus Failed -JobNameOrTitle "Paste Exchange Folder"
To run one or more jobs:
1.Select (from the PowerShell ISE Command Window) or enter Invoke-MLJob.
2.Select or enter additional parameters. Use the information in the following table for guidance.
Parameter |
Notes | ||
---|---|---|---|
JobID |
·You can obtain the JobId by running the Get-MLJobs cmdlet. ·You can run multiple jobs using the PowerShell Pipeline variable. | ||
JobStatus |
Valid statuses are:
| ||
Quiet |
Use this parameter if you do not want to display a status of the job as it is running. | ||
RunRemotely |
Use this parameter if you want to submit the job for Distributed Migration. NOTE: This option is valid for SharePoint Edition only. |
3.Run the cmdlet.
Example Scripts
Invoke-MLJob -JobId '92416012-4b69-4d4e-b3c2-984cde279909'
Invoke-MLJob -JobStatus Failed
Run multiple jobs using the PowerShell pipeline variable:
Invoke-MLJob -JobID 'c8176dd1-f1fd-484c-bc66-c002f5406f05' -RunRemotely
'5ca0d97f-4d1d-445f-a6d9-3292abe89a6f', '0a2e0874-a759-46f4-b459-bb98ec2991ad' | Invoke-MLJob '30bf6d71-0a28-4012-b612-2d22562b5b46', '0b094765-46e0-4919-8922-cc5fe841e1f5' | Invoke-MLJob -Quiet
You can view the progress of a migration tab in real-time via interactive log files. The logs are fully searchable.
To view an interactive log:
After starting an action, click Details>> in the progress dialog box.
NOTE: All logging in Metalogix Content Matrix is done through jobs. If a job list is deleted from the Job List, all logging for those actions will also be deleted. There is no backup for the job lists, unless the job is manually saved to another location. Once a job list is deleted, all logging for the actions within that job list are gone. Metalogix Content Matrix will automatically hold any job lists created through any copy or compare actions, in the Job Lists section, and these job lists can only be deleted through the appropriate Delete commands. The job lists can also be manually selected and saved through the Job list section.
There are two types of jobs in Metalogix Content Matrix:
A job list is a collection of job items. A Job list is created for each copy or compare action that is made. Any "Copy" action/job that is in the Job List section can be used as the base of an incremental copy job. Job items can be viewed in the Log Viewer, by opening a job list. There are three basic ways to open a job list to access the Log Viewer:
·Double-click on a job list.
·Select a job list, then in the Job List section of the toolbar click View Log.
·Select a job, right-click, and choose View log.
Job items are job files, or logging, for individual items within the scope of an action. For example, if a SharePoint site is copied, there would be a job item for adding each list and each item in that list, and one job item for adding or creating each site or sub-site. If a SharePoint list with five documents is copied, then there would be a job item for adding/creating the list, and then one job item for adding each of the documents.
Job items are job files, or logging, for individual items within the scope of an action. For example, if a SharePoint site is copied, there would be a job item for adding each list and each item in that list, and one job item for adding or creating each site or sub-site. If a SharePoint list with fie documents is copied, then there would be a job item for adding/creating the list, and then one job item for adding each of the documents.
From the Log Viewer you can select and view any job items that exists within that job list.
NOTE: Some actions in Metalogix Content Matrix have the ability to run with Verbose Logging. This option will increase the size of the log file.
To view Log Item Details:
1.From the Log Viewer, select the item whose details you want to view.
2.Use one of the following options:
§Double-click on the item.
OR
§Right-click and choose View Job Item.
OR
§If the job is currently running, click Details>>.
The Job Details dialog contains the following information:
·Operation - The last operation performed on the item.
·Status The status of the item. If a compare action is being performed then this could be: completed, different, or missing.
·Item Name - For items, the Item ID. For documents, the Filename.
·Time Started The time the action for the item was started.
·Time Finished The time the action for the item was finished.
·Bytes Copied The bytes (B) that were copied in the action. This will be displayed in KB in some cases.
·Source - The Source URL for the item.
·Target - Target URL for the item.
·Information - Provides an informational message about the item, such as. This section will provide a description for any different and/or missing attributes/metadata for an item.
·Details View - Any errors that were encountered with the item when an action was performed.
·Content Comparer tab - Any differences between Source and Target content (from a compare action). You can display this information in either a Grid View, which displays a metadata property grid for the item, or as a Text View, which displays a XML text format of the item. This option is most useful if Verbose Logging has been checked
You can also:
·Use [Search KBs] to have Content Matrix query the Quest Support Knowledge Base for relevant articles if you selected a failed item.
·Use [Copy] to copy all of the item information and details (including the Details tab) into the systems clipboard. You can then paste the information when it can then be pasted to another location. When pasted the information will look similar to that of the actual Log Item Details dialog. This can be used for easy copy/pasting of an items migration log details.
·Use [Prev] and [Next] buttons to move to the previous or next item on the list (if applicable).
You can export a selected job or multiple jobs from the Job List section into a Microsoft Excel file. The export will include all of the operations within each job (whether it is a migration action or some other action), and their details. This is to help users better understand their migration data and results, and provides another way to review the resulting logs.
In addition to the log details that are provided, there are also a number of tables and charts that can be accessed in different tabs within the Excel file. These tables and charts will help breakdown the information in a more visible manner.
To export one or more jobs to an Excel file:
1.In the Job List, select the job(s) you want to export.
2.Use one of the following options:
§From the Job List menu, select Export Excel
OR
§Right-click and choose Export selected job to Excel.
3.Save the file to the desired location.
By default the Excel file will open after it has been created. This process may take a few minutes depending on the size of the selected job(s) and the number of actions in the log(s).
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center