I'm using a powershell script to install service pack 1 on all the windows 7 machines that don't have it already. However I've found that the powershell.exe ignores the reboot options and just reboots once its done. Strangely enough if I execute it in a cmd window it accepts them just fine. I'm using the windows6.1-KB976932-X64.exe file with the /quiet /norestart arguments. Is there a way to get powershell to accept or see the /norestart?
Powershell
windows6.1-KB976932-X64.exe/quiet/norestart