I am trying to install a patch via powershell but i cant figure out how to know when it is done installing.
Powershell returns before it is done installing. What i think is happening is when i call the patch wusa is what is launched from there TrustedInstaller is called but powershell returns when wusa is done. I cant wait till TrustedInstaller is done as it never exits. Thoughts?
start-process .\Windows6.1-KB2506143-x86.msu -Wait -ArgumentList "/quiet /norestart" Enable-PSRemoting –force
Enable-PSRemoting is ran to soon.