Hi All,
I am attempting to run a powershell script in the run program as guest workflow to configure Windows Server 2012 VMs. My problem is that the workflow runs successfully only if the authenticated user is logged in. If the user is not logged in it fails. I am running the script with the following parameters.
Anyone have any ideas to get around having to have the user logged in?
vmUsername: tester
vmPassword: SecureString
vm: myGuest
interactiveSession: no
programPath: C:\Windows\system32\cmd.exe
arguments: /c powershell c:\OrchestratorInstall\myPsScript.ps1