Created
October 12, 2013 14:10
-
-
Save bedecarroll/6950399 to your computer and use it in GitHub Desktop.
Attaching VMware Update Manager baselines to lots of datacentres.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-PSSnapin *vmware* | |
Connect-VIServer <your vCenter Server> | |
$baseline = Get-Baseline -Name "Vendor VIBs" | |
Get-Datacenter | Where-Object Name -notlike "<Insert name of exclusions here>" | % { Attach-Baseline -Baseline $baseline -Entity $_ } | |
Disconnect-VIServer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment