Monday, 31 August 2015 19:29

Ensuring that PowerShell Script runs in Run .Net Script Activity

Rate this item
(0 votes)

Erstellt am Montag, 31. August 2015 Geschrieben von Stefan Horz

As default"Run .Net Script" Activity excutes 32bit PowerShell (x86) with Version 2.

If you want to ensure that your Script works with "Run .Net Script Activity" and you don't have forced "Run .Net Script" Activity to run the PowerShell-Version of Windows executing the Orchestrator Runbook Service you can ensure that your script works with "Run .Net Script Activity" with:

powershell -version 2


But you can't sart ISE for PowerShell 2.0.

Read more

Leave a comment