VMware Cloud Community
sm7012
Contributor
Contributor

Attach-Baseline / Detach-Baseline - 5.5 VCENTER

I am having a brain lapse today on this simple script.  I am sure I am doing something incorrect here.

All I am trying to do is attach a new Update Manager Baseline to my 5.5 VCENTER

Attach-Baseline -Entity 'xxxx'

not sure what do I put if I want to attach the baseline to the top level of the VCENTER.  not a cluster or host.

0 Kudos
1 Reply
LucD
Leadership
Leadership

Try like this

$root = Get-Folder -Name Datacenters

Attach-Baseline -Entity $root -Baseline $baseline


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos