Open pecigonzalo opened 9 years ago
Hello, Not sure how to make that default, but If you are running a remote script via command step, try this: Powershell.exe -executionpolicy bypass -File /path/to/file.ps1
If inline, use the "Invocation String" and "File Extension"
Hope this helps. Cheers, Dharmendra
Dharmendra, im currently using that as a workaround, but it would be better to have a "better" way of doing it.
Still the same, needs realy a better solution for that
Looks like i realy need to buy System Center Service Automation Manager for that :-(
WinRM plugin default to execute as batch, is there a way to make it default to powershell?