Example for calling cmd to install CS in Automox
$proc = Start-Process Installer.exe -ArgumentList '/install /quiet /norestart CID=KEY000000111' -PassThru
Write-Output "Exit Code was $($proc.ExitCode)"
Exit $proc.ExitCode
Just another Tech Blog
Example for calling cmd to install CS in Automox
$proc = Start-Process Installer.exe -ArgumentList '/install /quiet /norestart CID=KEY000000111' -PassThru
Write-Output "Exit Code was $($proc.ExitCode)"
Exit $proc.ExitCode