run ps1 file in cmd code example Example: cmd run ps1 file in background powershell.exe -windowstyle hidden -file C:\\iis_test.ps1