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