This PowerShell/PowerTool script will log into UCSM and generate an Excel spreadsheet of all your Service Profiles that have vHBAs associated with them. The spreadsheet will contain your Service Profiles, WWPNs for the A and B fabric and the WWNN.
The script will work with Service Profiles that have two vHBAs (Fabric A and B) or a single vHBA on either the A or B fabric. It will not support systems where you have a mix of the above.
I created this script for my customers so they could provide their SAN administrator a list of WWPNs for doing zoning and initiator groups during the creation of LUNs.
The script requires that the client machine be running PowerShell, PowerTool and Excel. The client must also have a UCSM login and be on a network that has access to UCSM.
v0.3 - Initial Posted Version
v0.4 - New look and feel and common script design
v0.4.01 - Added built in help. Command line options. Standard naming convention.
v0.4.02 - Added support for saved credentials file
As always, please let me know if you have questions, problems or suggestions for the script.
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 ...