Probably dumb question, but how do I get the time on a remote machine
using vbscript?

Re: get time on a remote machine by shah_boy

shah_boy
Wed Jan 26 22:38:26 CST 2005

shell out to NET TIME \\ComputerName. You can either caputure the
standard output or if you running it non-interactivly redirected it to
a temp file and then read in the temp file. Hope that helps

richpo


Re: get time on a remote machine by Wensi

Wensi
Wed Jan 26 23:18:13 CST 2005

WMI:
win32_OperatingSystem.LocalDateTime

Wensi
<emebohw@netscape.net> wrote in message
news:1106781281.020110.168450@c13g2000cwb.googlegroups.com...
> Probably dumb question, but how do I get the time on a remote machine
> using vbscript?
>