Quantcast
Viewing all articles
Browse latest Browse all 26364

Automate Time Change on a Non-Domain Server

Hello-

I have a couple of servers that I have to manually change the time on a few times per week for software testing. And by a few I mean between 1-4 times daily. They are in an isolated environment, so they are network accessible but not on the domain. I normally just log into each and change the time manually via RDP.

I would like to see if there is a script (PowerShell, vb, whatever) that I can run to change the time to:

1) a predetermined time for the test, then

2) back again to the current time.

These servers are not on the domain- I have to log in with the local admin password, so although I would like to be able to execute it from my workstation (that would be a bonus), I'm not sure that's an option.

I have some basic knowledge of executing scripts, but I am a complete neophyte when it comes to writing/composing them.

What do you think would be a good way to solve this? Am I missing an obvious tool not mentioned here?


Viewing all articles
Browse latest Browse all 26364

Trending Articles