bbambalova's Posts

This script exports/imports baselines from one Update Manager server to another. Before running the script, make sure that you have VI Toolkit 1.0 and Update Manager - PowerShell Library inst... See more...
This script exports/imports baselines from one Update Manager server to another. Before running the script, make sure that you have VI Toolkit 1.0 and Update Manager - PowerShell Library installed on your machine. To use the script 1. Run the Get-Baseline cmdlet to retrieve the baselines to import. 2. Run the script using the retrieved baselines and one or more destination VirtualCenter servers as parameters. For each supplied baseline, the script creates a duplicate on the destination server(s). Feedback welcome!
Update Manager Powershell works with VITK 1. I used VITK 1 for testing the script.
The workaround is to supply value for -HostFailureAction parameter. You can use the configured host failure action for the Update Manager or one of the values: FailTask, Retry, PowerOffVMsAndRetr... See more...
The workaround is to supply value for -HostFailureAction parameter. You can use the configured host failure action for the Update Manager or one of the values: FailTask, Retry, PowerOffVMsAndRetry, SuspendVMsAndRetry $vumConfig = Get-VumConfig $entity = Get-Inventory "<host_ip>" #this will return only attached to the host baselines $baseline = Get-Baseline -Entity $entity Remediate-Inventory -Entity $entity -Baseline $baseline -HostFailureAction $vumConfig.HostFailureAction