An Engineers Notebook

Run GPUpdate on multiple machines without Invoke-GPUpdate

You can run GPUpdate on multiple machines – this is usefull in pre Windows 8 environments where the Invoke-GPUpdate cmdlet is not available.

Step 1
First, obtain a full list of comuters that you needs to run gpupdate on. See Export a list of all active directory computers.

If the server is old and does not have PowerShell you can get a list of
computers like this in CMD:
dsquery computers

Format it to a single column of computer names
and save it to a file computers.csv on c:

Step 2

Put psexec on the
source machine.




@c:computers.csv gpupdate /force

Leave a Reply

Your email address will not be published.