Last active
July 27, 2018 14:03
-
-
Save alainassaf/cfdf6bb7a87d0bde3f96b436a126615f to your computer and use it in GitHub Desktop.
Looping through XS Poolmasters
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
# Loop through list of hosts (poolmaster) | |
$xenserver_poolmaster | ForEach-Object { | |
# Connect to XenServer pool | |
Connect-XenServer -Server $_ -Creds $xenserver_credential -SetDefaultSession -NoWarnNewCertificates |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment