You need PowerShell version 2 or higher. Include 1 of the following in your scripts or module if you want to use these functions in your automated tests "Release ...
PowerShell.open() opens a new PowerShell session with default executable. On Windows it is powershell, and on other platforms it is pwsh from PowerShell Core. You can ...