A lot of you may already be familiar with the PowerShell report script I wrote but incase you aren't here it is.
I wrote a lot of this script over a year ago and have updated it as I think of new features or as Cisco has added new UCS features.
I am by know means a developer or PowerShell expert and there are probably a lot of modifications that could be made to make the code more efficient or to make the HTML formatting cleaner.
The script is free for anyone to use or modify as they see fit. The only thing I ask is that if you do make the script better please share it with me so that I can make it available to everyone else via this site.
This is probably obvious but here are some instructions on running the script.
First you must have PowerShell version 2 or greater installed
The UCS Powertool must be installed
I recommend creating a folder on the root of the C: drive to run the script from. The script creates a lot of temporary HTML files that are then merged into one file an deleted.
Make sure you run the UCS Powertool shortcut from the desktop or programs group as an Administrator. This is so the Windows UAC doesn't get in the way. After you are in the PowerShell window change directories to the new folder and run the script.
It will prompt you for everything else, on the file name prompt give it a .HTML extenstion.
The script and an example output from the script are attached. You will need to rename the .txt file to .ps1 and then copy it to the new folder.
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 ...