Skip to main content
All CollectionsMigratePowerShellTips and tricks
Use Import Module when you launch PowerShell through Windows
Use Import Module when you launch PowerShell through Windows
Updated over 2 weeks ago

ShareGate's PowerShell commands work out of the box when you launch PowerShell from ShareGate Migrate.

If you prefer to use Windows PowerShell or PowerShell ISE, you can import the ShareGate Migrate commands with Import-Module.

Type the following code at the beginning of any script to import the commands to your PowerShell app:

Import-Module Sharegate

Note: ShareGate Migrate must be installed on your machine for the ShareGate PowerShell commands to work, and the module is automatically available on your system when you install it.

Did this answer your question?