drmp
asked on
Powershell CMD for Hotfix to entire OU
I have a hotfix to apply to all computers.
I want to be able to push out to each OU respectively.
I have a working script:
@echo off
IF EXIST c:\windows\H0tf1x.txt goto end
wusa.exe \\srv-install\Install\Admi n\Microsof t\HotfixTi meIssue\45 1549_intl_ x64_zip\Wi ndows6.1-K B2738974-v 3-x64.msu /quiet /norestart
echo MS Hotfix installed > %SystemDrive%\windows\H0tf 1x.txt
:end
Is there a way to use powershell or use cmd to execute the script, or just the wusa.exe cmd?
I want to be able to push out to each OU respectively.
I have a working script:
@echo off
IF EXIST c:\windows\H0tf1x.txt goto end
wusa.exe \\srv-install\Install\Admi
echo MS Hotfix installed > %SystemDrive%\windows\H0tf
:end
Is there a way to use powershell or use cmd to execute the script, or just the wusa.exe cmd?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The issue is the time/date is off/ahead 1 day or 1 hour on the clients....
So thats why I'm looking for a way to execute this manually, to a group of computers.