Jump to content

Get Date/Time from a Remote PC


kwacky1
 Share

Recommended Posts

Is there a way using AutoIT to get the Current Date from a remote PC?

I have a script that needs to verify the date is accurate on a remote pc.

Currently I have a 'messy' workaround that creates a file on the remote pc and retrieves the creation date from that file. As I said, it works, but it's messy.

Thanks

Link to comment
Share on other sites

Thanks for that, I didn't want to use WMI, I was trying to keep it all within AutoIt. I had forgotten about net time...

Cheers

That is WMI within AutoIt. Be surprised what you can do with AutoIt especially with the Beta.

Gary

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...