I had a customer ask me for a way to easily collect all serial number from a UCS so they could give to their services team to make sure everything was covered under their SmartNet contract. This is what I came up with.
This script allows you to log into a single or multiple UCS Domains and it will create an Excel spreadsheet of all the devices and their serial numbers.
Prerequisites: PowerShell v3 or greater enabled on your client machine Network access to your UCSM An account on your UCSM Excel installed on the client machine Cisco PowerTool for PowerShell installed in the client machine
v0.5 - Initial posted version
v0.5.01 - Added feature to exit script if you only provide a single domain and domain log in fails or if you are not logged into any UCSM.
v0.5.02 - Added one more error check for login
v0.5.03 - Found that older B230's that don't have DIMMs in a slot report their serial number as NO DIMM. Look for that and ignore entering those into the inventory.
v0.5.04 - Requires PowerShell V3 and now has a check to ensure you are running it or higher.
v0.6 - Added a column with the associated Service Profile for the equipment where applicable.
v0.7 - Added a column with the manufacturing date/time of the equipment where available.
v0.8 - Added section to collect local hard disk info
v0.9 - Added built in help. Command line options. Standard naming convention.
v0.9.0.1 - Added support for saved credentials file
v0.9.10 - Add fields with UCSM Licensing Information
As always, let me know if you have any questions, problems or suggestions.
I am building a training lab environment and have an existing 3.1 emulator. I have downloaded and installed the new 4.1 emulator. I copied the HW configs and backup configuration from the old system but am having issues setting it up on the new version An...
Hello all, I worked on a vRO workflows (vRO 7.5) to automate the cisco blade integration. This service was up for the last few months with no problems.But lately, my ucs-central plug-in (1.0.1) stopped working, therefore I can no longer see or work w...
With all VMware Products and most other vendor products converting to Appliance based, the fact that the UCS Manager Plug-in for VMware still requires an IIS server to function is crazy. When everyone's VMware infrastructure was Windows Based this was fin...
I use UCS Central regsitered with 4 UCS Manager. I was trying to Create Service Profile and associate it to one of the domain/chassis/slot via PowerTool (Powershell).What command should be used to associate a Domain/Blade Eg : Domain2/Chassis1/Slot-1...
We are using Cisco SCOM MP version - 22.214.171.124 with discovery level 3.We would like to disable discovery for few blades on a chassis, bur unable to find the clear way.The Blade discovery is also pointing to Chassis but does not tells anything about the blad...