This UCS Powershell script is a framework I use for creating new Powershell scripts for UCS. It does all the heavy lifting of getting logged into a UCS with error checking and then has a place where you paste your custom script code so you can easily create your own UCS PowerTool/PowerShell scripts.
v0.2 - Initial Posted Version
v0.4 - Completely new engine and format. Allows multiple UCSM logins, Better error checking
v0.5 - Checks to see if you are running at least PowerShell v3
v0.5.01 - Added some corrected logic for multi-domain logins. Added some feedback information about PowerShell and PowerTool versions. Added built in help. Command line options. Standard naming convention.
v0.5.02 - Added support for saved credentials file
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 ...