Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 258290

Re: powercli script to get last boottime of guest OS

$
0
0

You can use the following PowerShell command to get the last boot time of multiple systems:

 

Get-CimInstance -ClassName Win32_OperatingSystem -ComputerName Server01,Server02 | Select-Object -Property CSName,LastBootUpTime

 

Replace Server01,Server02 with the names of the machines you want to retrieve the last boot time from.


Viewing all articles
Browse latest Browse all 258290

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>