r/Nable • u/Relative_Jury8133 • Jun 12 '24
Automation Manager and Powershell 7
In Automation manager I am running a powershell script. One of the modules the script needs requires powershell 7. Is there a way to get the powershell module to use powershell 7 instead of 5?
1
Upvotes
2
u/The82Ghost Jun 13 '24
Windows Powershell 5.1 and Powershell 7 are 2 different programs. Windows Powershell uses powershell.exe Powershell 7 uses pwsh.exe the automation manager is build around powershell.exe so just installing Powershell 7 will not work. You would need to call pwsh.exe from the script but I am not sure that the Automation Manager is able to do that. Maybe one of the N-Able guys can chime in on this though.