Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List the UTC Time on a ComputerContent of List the UTC Time on a Computer.ps1MD5 Hash: 0B28A828D745446C1BCC5EE92B411A80 |
||
$strComputer = "."
$colItems = get-wmiobject -class "Win32_UTCTime" -namespace "root\CIMV2" ` -computername $strComputer foreach ($objItem in $colItems) { write-host "Day: " $objItem.Day write-host "Day Of Week: " $objItem.DayOfWeek write-host "Hour: " $objItem.Hour write-host "Milliseconds: " $objItem.Milliseconds write-host "Minute: " $objItem.Minute write-host "Month: " $objItem.Month write-host "Quarter: " $objItem.Quarter write-host "Second: " $objItem.Second write-host "Week In Month: " $objItem.WeekInMonth write-host "Year: " $objItem.Year write-host } | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |