Add support for PowerShell core (6 or 7)

50 votes

Running PowerShell commands from Pulseway has been supported for quite some time now. With PowerShell Core having been released almost 3 years ago, adding support for running PowerShell Core scripts is overdue.

To add support, you should be able to just add a new PowerShell Core option and point it to run pwsh.exe instead of powershell.exe.

PowerShell 7 documentation links:
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_pwsh?view=powershell-7

https://docs.microsoft.com/en-us/powershell/scripting/install/migrating-from-windows-powershell-51-to-powershell-7?view=powershell-7

Under consideration Command-line Management Suggested by: Chris Holmes Upvoted: 08 Mar Comments: 1

Comments: 1