Created
December 11, 2013 18:43
-
-
Save jcpowermac/7916071 to your computer and use it in GitHub Desktop.
Add PowerPath License
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
### SCRIPT TO ADD POWERPATH LICENSES TO VDI HOSTS #### | |
Get-Vmhost | % { | |
rpowermt setup add_host host=$_ username=root password= | |
rpowermt register host=$_ | |
$vmhostname = $_.Name.ToString().split('.')[0]; | |
rpowermt check_registration host=$vmhostname | |
} | |
### END ### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment