This UCS PowerShell script allows to to connect to a UCS domain and then specify the name or IP address of a server and have all the NICs on the server renamed to match the names in the UCS vNIC Template.
This script requires WMI access to the Windows machine and admin level login rights to the server.
The benefit of this is that you can quickly identify NICs to assign functions such as Hyper-V vSwitches, Clustering, Live Migrations, etc.
It only takes a few seconds for it to make the changes.
v0.6 - Initial Posted Version
v0.8 - New look and feel. Common scripting elements. Tests that you are running at least PowerShell v3
v0.8.01 - Fixed issue where script would exit if Hyper-V was not enabled
v0.8.021 - Added built in help. Command line options. Standard naming convention.
v0.8.03 - Added support for saved credentials files for both UCSM and the server to be NIC renamed
As always, let me know if you have any questions, problems or suggestions.
I use vRealize Orchestrator to create workflows everyday and was given a task to integrate with UCSC plugin and work on creating VLANs on our B200 M4 blades.I see that there are only a few sample workflows but I have made my way to figuring out some of th...
I am very new to UCS SDK. I would like to be able to get a list of valid class ids.
If I do something like this ...
foos = ucsm_handle.query_classid(class_id='foo', filter_str=filter_str)
... I get the error ...