ShareGate Migrate has a PowerShell module with a set of cmdlets, functions, parameters, etc.
Details
Using external PowerShell modules alongside the ShareGate Migrate module may cause unexpected behaviors.
While we do our best to help with these cases, ShareGate Migrate does not officially support external PowerShell modules.
It's always best to use the ShareGate Migrate PowerShell module exclusively for your operations.
PnP PowerShell
Though you can expand ShareGate's capabilities with PnP PowerShell's module, running both modules simultaneously can cause problems.
To use PnP cmdlets, we recommend the stepped approach described below:
Import the PnP PowerShell module.
Execute your pre-migration PnP scripts. For example, provisioning site collections.
Disconnect the PnP PowerShell module.
Execute your ShareGate migration scripts.
Disconnect the ShareGate PowerShell module.
Import the PnP PowerShell module.
Run your post-migration PnP scripts.