6 replies
You can do almost anything administratively using scripts, but you need to define your requirements in greater detail in order for me to respond properly.
Re-read your question and see if you can state your desired objective more clearly.
Explain what you want to do. Do you want to start a process (or bat job) on a remote system at a time other than the one local to your machines? Do you want to automatically configure scheduled jobs on all remote systems using only one master batch file to send out the commands to do so?
What do you mean "a way to do this in the near future?" Do you mean will Windows 2005 be able to do this? Be specific and I will try to help you.
by dionhurst
by dionhurst
How about this:
@ECHO OFF
REM Extracts Current Time from your PC
FOR /F "Delims=: Tokens=1-2*" %%a in ('ECHO %TIME%') DO (
SET /A PSTHour=%%a-1
SET PSTMinute=%%b
)
REM Set the TIME on your PC to the same AS PST, Assuming you are 1 hour Ahead
TIME %PSTHour%:%PSTMinute%
REM Run your SOON command here:
REM Resets the TIME on your PC to the same as your domain controller.
NET TIME /SET /Y
by dionhurst
by dionhurst
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending