Support powershell 7 in ShareGate
Usually, I have a mixed environment on-prem + SPO, so I use Powershell 5 for on-prem, and Powershell 7 for SPO with installed pnp modules to do some additional steps. Would be nice if the ShareGate module could work in PowerShell 7+ currently I receive there
Version 17.1.3 (Assembly 17.1.3.0, Build 2703)
[0] PS-105-405 (RetryFailed: False) --- Sharegate.Common.Exceptions.SGUnsupportedPowerShellVersionException: ShareGate doesn't support PowerShell version 7.2.5. Please use PowerShell 5.1 instead.
at g.u.a.u.i2()
at g.u.a.u.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
5
votes
-
Craig commented
in order to run powershell scripts with PNP and due to the authentication this is critical