加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

为域上的所有Windows服务器设置时区(2008 R2)

发布时间:2020-12-13 22:58:37 所属栏目:Windows 来源:网络整理
导读:有没有办法可以为我的域上的所有计算机设置时区(可能使用组策略?).所有 Windows机器都是Server 2008 R2. 命令tzutil.exe在Windows 7/2008上可用 TZUTIL /? | /g | /s TimeZoneID[_dstoff] | /lParameters: /? Displays usage information. /g Displays the
有没有办法可以为我的域上的所有计算机设置时区(可能使用组策略?).所有 Windows机器都是Server 2008 R2.
命令tzutil.exe在Windows 7/2008上可用
TZUTIL </? | /g | /s TimeZoneID[_dstoff] | /l>

Parameters:
    /? Displays usage information.

    /g Displays the current time zone ID.

    /s TimeZoneID[_dstoff]
       Sets the current time zone using the specified time zone ID.
       The _dstoff suffix disables Daylight Saving Time adjustments
       for the time zone (where applicable).

    /l Lists all valid time zone IDs and display names. The output will
       be:
           <display name>
           <time zone ID>

Examples:
    TZUTIL /g
    TZUTIL /s "Pacific Standard Time"
    TZUTIL /s "Pacific Standard Time_dstoff"

要设置为UTC,请使用类似TZUTIL / s“UTC”的命令.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读