Run a script: CMD "powershell.exe" -File "C:\HyperV_Export.ps1" -VMID "9623d59a-a9e9-40cf-a0fd-913248491d50" Run a script: PowerShell & "C:\HyperV_Export.ps1" -VMID ...