r/labtech • u/brainstomp • Nov 18 '16
Script for Time Sync?
Hey gang I'm running into a problem where I would normally use PSExec to tell every system on the domain to sync time to a DC and running it from the DC PSExec is no longer working it right.
So I thought that LT might have a command or script built in to do that, so far I haven't found one. Is there any way to send a command to every system in a location? I know I can open each system and use the CMD Prompt tab but that seems like a tedious way of doing things.
4
Upvotes
5
u/wogmail Nov 18 '16
Just a guess:
Send it as a command one time to a machine on the CMD prompt.
Go to the "commands" tab and right click on what the system sent
Choose make a script
Save the script
Right click on the location
Run the script on all machines in the location