Metalogix Content Matrix can generate PowerShell scripts to be used to migrate SharePoint content through the PowerShell command window. Anything that can be done through the Metalogix Content Matrix Console User Interface (UI) can also be done though PowerShell, adding PowerShell capability to content migration.
PowerShell console shortcuts are added to the same Start Menu folder location where shortcuts to Metalogix Content Matrix consoles are placed after installation.
NOTE: If this option is not used to open PowerShell, see Configuring PowerShell for Use with Metalogix Content Matrix, to set up and configure the Metalogix PowerShell plug-ins and snap-ins.
When Metalogix Content Matrix is installed it will automatically try to install all of the required DLL files, and will also add a PowerShell console. If this PowerShell console is used all of the snap-ins will automatically be added, and ready for use.
However, if you are not using the Content Matrix-provided PowerShell console, some initial PowerShell configuration is required.
To run commands if not using the Content Matrix-provided PowerShell console:
1.Change the working directory of PowerShell to the installation directory of the applicable Content Matrix edition.
2.Register the Metalogix Command DLL files.
3.Add the PowerShell snap-ins for the Metalogix Application Framework. (This step must be done each time you open and use PowerShell with Metalogix Content Matrix.)
The PowerShell Command DLLs consist of:
·Metalogix.SharePoint.Commands DLL.
·Metalogix.System.Commands.DLL.
·Metalogix.SharePoint.Migration.Commands.DLL.
·Metalogix.Jobs.Reporting.Commands.DLL
To register Metalogix Command DLL Files:
1.Register the Metalogix.Jobs.Reporting.Commands DLL.
2.Open a PowerShell command window.
NOTE: While 64-bit systems normally open 64-bit versions of PowerShell, they can also run 32-bit PowerShell by going to Start > All Programs > Accessories > Windows PowerShell and selecting Windows PowerShell (x86).
3.In the PowerShell command window, change the working directory to the installation folder for Metalogix Content Matrix. If the default installation location is used for installing Metalogix Content Matrix, then this command should be:
·For 64-bit systems: CD "C:\Program Files (x86)\Metalogix\Content Matrix Consoles\SharePoint Edition"
·For 32-bit systems: CD "C:\Program Files (x86)\Metalogix\Content Matrix Consoles\SharePoint Edition"
4.After the directory has been changed to the installation folder in the PowerShell command window, enter:
·For 64-bit systems: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil.exe Metalogix.SharePoint.Commands.dll
·For 32-bit systems: C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe Metalogix.SharePoint.Commands.dll
5.Wait for the command to run. You should see "The transacted install has completed" when the install has been completed. Enter the command:
·For 64-bit systems: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil.exe Metalogix.System.Commands.dll
·For 32-bit systems: C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe Metalogix.System.Commands.dll
6.Wait for the command to run. You should see "The transacted install has completed" when the install has been completed. Then, enter the command:
·For 64-bit systems: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil.exe Metalogix.SharePoint.Migration.Commands.dll
·For 32-bit systems: C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe Metalogix.SharePoint.Migration.Commands.dll
7.Wait for the command to run. You should see "The transacted install has completed" when the install has been completed. Enter the command:
·For 64-bit systems: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil.exe Metalogix.Jobs.Reporting.Commands.dll
·For 32-bit systems: C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe Metalogix.Jobs.Reporting.Commands.dll
Wait for the command to run. All four DLL files have now been registered in PowerShell. Continue the installation process by adding the Metalogix Application Framework snap-ins. Registering each of the DLL files only needs to be done once in PowerShell.
After the Metalogix DLLs are registered in PowerShell, you can add the snap-ins. These three snap-ins must be run each time PowerShell is open. It is possible to set up your PowerShell profile so that it automatically adds these snap-ins each time you open PowerShell.
To add PowerShell snap-ins:
1.Make sure that PowerShell is opened and set to the Metalogix Content Matrix application directory
2.Enter the following command to load the first snap-in: Add-PSSnapin Metalogix.SharePoint.Commands.
3.To add the second snap-in enter the command: Add-PSSnapin Metalogix.System.Commands.
4.To add the third snap-in enter the command: Add-PSSnapin Metalogix.SharePoint.Migration.Commands.
1.Once the Metalogix snap-ins are added they should appear in the list of PowerShell snap-ins. You can view the list of snap-ins by entering Get-PSSnapin. The Metalogix snap-ins should be listed under Metalogix.SharePoint.Commands and Metalogix.System.Commands.
PowerShell is now configured to run with Metalogix Content Matrix.
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy