Psexec pulling the computer names from a file.

FOR /F %%v IN (machines.txt) DO psexec \\%%v gpupdate /force

It'll error for the user gpo if nobody is logged on, but the computer
policy will refresh.




ZV> My GPO refresh interval is 45 minutes.  If I can't wait that long what is
ZV> the best way to "gpupdate /force" on the workstations(150+ machines)?  I
ZV> have manually executed cmd.exe remotely and restarted a few of them, but I
ZV> want to do a one-time manual update of all the machines, other than changing
ZV> my refresh interval.
ZV>  
ZV> -Z.V.

ZV> ~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
ZV> ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~




~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to