The Scripted Actions runbook process appears to be hard coded to use PowerShell 5.1, and in a recent script I had relied on a function only available in PowerShell 6 or later. So, this led to needing to re-architect. It would seem to me an appropriate time to add an opt-in to make all Scripted Actions use PowerShell 7.2 (the current GA version of PowerShell 7) at the account and/or MSP level or to allow an individual scripted action to be import as a 5.1 or 7.2 version, thus making two side-by-side instances.
There may be Nerdio scripted actions that would need to be modernized to support 7.2 in order to make all scripted actions 7.2, but that would seem to be appropriate. Most Azure stuff which is what Nerdio works with is fully supported in 7.2 anyway. Giving customers the choice would likely work out.
Comments (4 comments)