VMware Cloud Community
NucleusVM
Enthusiast
Enthusiast

get a VMGuest's last boot time by only using PowerCli cmdlets

I need to find a VM Guest's last boot time. The machine running the PowerCli script and the VMGuest are on the same vCenter, but in isolated network segments. So I can't use Powershell to run Get-WmiObject or Get-CimInstance. And I would really prefer to avoid Invoke-VMscript. I haven't had much luck with it.

How can I get a VMGuest's last boot time by using PowerCli cmdlets?

Tags (1)
0 Kudos
1 Reply
LucD
Leadership
Leadership

You can always use Invoke-VMScript to run those cmdlets inside the guest OS.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos