how to run powershell script in background code example
Example 1: cmd run ps1 file in background
powershell.exe -windowstyle hidden -file C:\\iis_test.ps1
Example 2: run powershell script in background
Powershell.exe -windowstyle hidden -file C:\iis_test.ps1