Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI Win32_TimeZone QueryContent of WMI Win32_TimeZone Query.vbsMD5 Hash: 44A21A07F23BFD40A4529B2983EC1AA7 |
||
On Error Resume Next
strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_TimeZone",,48) For Each objItem in colItems Wscript.Echo "Bias: " & objItem.Bias Wscript.Echo "Caption: " & objItem.Caption Wscript.Echo "DaylightBias: " & objItem.DaylightBias Wscript.Echo "DaylightDay: " & objItem.DaylightDay Wscript.Echo "DaylightDayOfWeek: " & objItem.DaylightDayOfWeek Wscript.Echo "DaylightHour: " & objItem.DaylightHour Wscript.Echo "DaylightMillisecond: " & objItem.DaylightMillisecond Wscript.Echo "DaylightMinute: " & objItem.DaylightMinute Wscript.Echo "DaylightMonth: " & objItem.DaylightMonth Wscript.Echo "DaylightName: " & objItem.DaylightName Wscript.Echo "DaylightSecond: " & objItem.DaylightSecond Wscript.Echo "DaylightYear: " & objItem.DaylightYear Wscript.Echo "Description: " & objItem.Description Wscript.Echo "SettingID: " & objItem.SettingID Wscript.Echo "StandardBias: " & objItem.StandardBias Wscript.Echo "StandardDay: " & objItem.StandardDay Wscript.Echo "StandardDayOfWeek: " & objItem.StandardDayOfWeek Wscript.Echo "StandardHour: " & objItem.StandardHour Wscript.Echo "StandardMillisecond: " & objItem.StandardMillisecond Wscript.Echo "StandardMinute: " & objItem.StandardMinute Wscript.Echo "StandardMonth: " & objItem.StandardMonth Wscript.Echo "StandardName: " & objItem.StandardName Wscript.Echo "StandardSecond: " & objItem.StandardSecond Wscript.Echo "StandardYear: " & objItem.StandardYear Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |