Get-VMHost | Get-View | select Name, @{N=”Uptime”; E={(Get-Date) – $_.Summary.Runtime.BootTime}}

Share