You can look for an EnteringMaintenanceModeEvent event for the host with the Get-VIEvent cmdlet.
↧
You can look for an EnteringMaintenanceModeEvent event for the host with the Get-VIEvent cmdlet.