Scripting Tip: PowerShell to Identify Last Bootup Time
1
2
3
4
5
|
#Show the important details of Win32_OperatingSystem
$computer = "LocalHost"
$namespace = "root\CIMV2"
Get-WmiObject -class Win32_OperatingSystem -computername $computer -namespace $namespace
| Select OSArchitecture, BuildNumber, Caption, LastBootUpTime | FT
|
Trackbacks
Die Kommentarfunktion wurde vom Besitzer dieses Blogs in diesem Eintrag deaktiviert.
Kommentare
Ansicht der Kommentare: Linear | Verschachtelt