We're running DS 6.9 SP5 MR2, so PowerShell is natively supported. In a DS "Run Script" task, you can either run the script by selecting the script file or entering the script in the "Run this script" field. The only thing that works for me in the "Run this script" field is bat/cmd files. In this
https://www-secure.symantec.com/connect/forums/what-s-new-deployment-server-69-sp5-mr2-and-pc-transplant-68-sp4-mr2
connect posting, someone comments
For Run Script Dialog the user will have to use comment # Powershell somewhere in the script which is pretty similar to how VB Scripts that need to have the comment 'vbscript in them.
This doesn't work for me. As far as I can tell, the lines in the "Run this script" field are always parsed by CMD.EXE. Is PowerShell or VBS even supported in this field? It would be pretty cool to have a little section with "Choose the script parser: PowerShell.exe / cmd.exe / cscript.exe" with a radio button next to each.
It's annoying to have a job full of Run Script tasks with identical descriptions: "F:\Program Files(x86)\Altiris\eX..."