Link to home
Start Free TrialLog in
Avatar of drmp
drmpFlag for United States of America

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\Admin\Microsoft\HotfixTimeIssue\451549_intl_x64_zip\Windows6.1-KB2738974-v3-x64.msu /quiet /norestart
echo MS Hotfix installed > %SystemDrive%\windows\H0tf1x.txt
:end

Is there a way to use powershell or use cmd to execute the script, or just the wusa.exe cmd?
SOLUTION
Avatar of Lofty Worm
Lofty Worm
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of drmp

ASKER

The hotfix is actually going to fix our GPO scheduled task issue.
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.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial