Using WMI to determine when a system last booted up
1 2 | $a = (get-wmiobject win32_operatingsystem) $a.ConvertToDateTime($a.lastbootuptime) |
Using WMI to determine when a system last booted up
1 2 | $a = (get-wmiobject win32_operatingsystem) $a.ConvertToDateTime($a.lastbootuptime) |
This entry was posted on October 28, 2009, 10:52 pm and is filed under Powershell. You can follow any responses to this entry through RSS 2.0. You can leave a response, or trackback from your own site.
Fusion theme by digitalnature | powered by WordPress
Entries (RSS) and Comments (RSS) ^