You can retrieve all baselines attached to a host and remediate the host.

Note: When remediating a host, you can configure the maintenance mode settings. You can temporarily disconnect any removable media devices that might prevent the host from entering maintenance mode as well.

Prerequisites

Verify that you are connected to a vCenter Server system.

Procedure

  1. Retrieve all baselines attached to the Host host.
    $baselines = Get-BaselineEntity Host
  2. Remediate the host.
    Update-EntityEntity Host –Baseline $baselines –HostFailureAction Retry –HostNumberOfRetries 2 -HostDisableMediaDevices $true