Open for Voting

Server & Application Monitor (SAM) to be upgraded to use PowerShell V7

PowerShell in SAM components is restricted to v5.1 with no upgrade roadmap for the future. This is a request to create a configuration entry in Global Admin to select the version of PowerShell in use. As the different versions on Windows Server have their own installation folders this could be a path to the PowerShell executable to use, eg:

V5.1 (or lower, depending on what's installed) C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe (default)
V7: C:\Program Files\PowerShell\7\pwsh.exe

This will allow V7 cmdlets to be used in SAM scripting as the output for any SAM script is predefined so shouldn't be constrained by the version of PowerShell.

Thanks