Net Time Syntax
2 years ago
Originally Published: 2007-09-12
Article Number
000049024
Applies To
enVision
Issue
What is syntax for net time?
Resolution
 The syntax of the net time command is:

NET TIME
[\\computername | /DOMAIN[:domainname] | /RTSDOMAIN[:domainname]] [/SET]
         [\\computername] /QUERYSNTP
         [\\computername] /SETSNTP[:ntp server list]


C:\>net time /QUERYSNTP
The current SNTP value is: time.windows.com,0x1

Use this command to change it: net time /SETSNTP  ipaddress/hostname