This PowerShell and PowerTool script connects to one or more standalone UCS C-series and E-series servers querying it/them for hardware details. Using that information it generates an excel spreadsheet presenting the inventory in the form of an outline. Besides model, part number, etc. it also lists for each element the serial number and firmware version.
There are a few parameters, the most important being '-show' which controls the level of detail you get to see. At level one you see only an overview of the C-series or E-series server At two the scripts adds CPUs and memory, then all the way up to five where you will get detailed info on each and every DIMM.
The advantage of having it in a spreadsheet is that it can be used for modelling the data, for example when doing capacity planning for a tech-refresh. But for others it will be simply a tool for asset tracking.
Few points to be aware of:
You need to have Cisco IMC PowerTool and Microsoft Office installed on the system running the script.
Do not install the script in C:\ because for some reason the script doesn't have write access there, put it instead in some user directory.
This script will store the data retrieved from Cisco IMC in a bunch of csv-files in "C:\Temp", plus two conversion tables to translate the 'model' attribute to 'part number' and back.
Finally there is the '-v' flag with which you can follow the progress of the script.
If you are looking for a similar script for fetching the inventory details of a UCS domain managed by UCS Manager, go to -
I'm working on scripting out config backups of standalone c240 servers using the utils module of the imcsdk for python: https://ciscoucs.github.io/imcsdk_docs/imcsdk.utils.html?highlight=backup_create#imcsdk.utils.imcbackup.backup_create This wo...
I am unfamiliar with vNIC Redundancy Types: Primary and Secondary. What is the purpose and how do they work?I understand Primary is setup with Fabric A, Primary and set the Peer to vNIC B and the setting stay. But how does it work inside a system? Does it...
PowerShell script to check vNIC Number Fabric Failover value on Rack-Mount and B series servers from UCS manager we need to check Fabric Failover details on all C series and B series servers in UCS manager . below is the screen-shot&n...
Some time ago we decommissioned one of our Cisco UCS Fabric Interconnect configurations. At the time we did not think to remove it from vReallize Orchestrator. We have now run into the situation that the UCS Manager Plugin always says 'Error in plug-in' w...