Jump to content

Recommended Posts

Posted

Does anyone know if it is possible to remotely issue the GPUPDATE /force /boot command to multiple computers on my network in one go?

 

I can export the computer names from Active Directory if that helps, but when exporting, it seems to export other columns like "Type" and "Modified" which may not be useful.

 

Thanks in advance.

Posted

Exporting list out of active directory will export the columns that are showing in ad at the time. You can either limit the view or open the csv in excel and delete the nonrequired fields. The other problem with doing it that way is you have to export every ou into separate csv and then combine them to make a single csv. Whilst this is relative straight forward it can be tedious if you have loads of ou’s.

 

Using powershell may be easier. Try out the steps on this site

https://www.morgantechspace.com/2016/02/get-list-of-computers-in-ad-using-powershell.html?m=1

 

If I’m not mistaken Restarting the computer alone will perform a group policy update

Just performing from an elevated cmd prompt should do the job

For /f %%a in (filename.csv) do (

Shutdown -r -t 0 -m %%a

)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...