QuickTask: How to find VMware ESXi which need a reboot using PowerCLI


Get-View -ViewType HostSystem -Property Name,Summary.Rebootrequired -Filter @{"Summary.RebootRequired"="True"} | Select-Object -Property Name