Showing results for 
Search instead for 
Did you mean: 

UCS Manager Firmware Upgrade with UCS PowerTool


This script automates the upgrade of UCS Manager firmware (logging into CCO, downloading firmware bundles to a local working directory, uploading bundles to the target UCS System and walking through all steps of the upgrade, including creation/assignment of a new Host/Management Firmware Policy to all Service Profiles/Templates. Note: Should exit for any reason, you can run again and the script will figure out where it left off and continue with the next task in the upgrade If the script finds that the target firmware bundles are already located in the target local directory, the script will identify this and use these bundles, rather than downloading them from CCO (useful in an environment without internet access to CCO).

Change Log:

1.0 - Initial version

1.1 - Option to upgrade only the infrastructure bundle (-InfraOnly parameter)

1.2 - Script to use the auto-install functionality in UCS Manager for upgrading the firmware.

Script usage:-

.\UCSMFirmwareUpdate.ps1 -version <UCSM version> -ucs <UCSM IP> -imageDir <Image Directory> -hfp <all|default>

.\UCSMFirmwareUpdate.ps1 -version <UCSM version> -ucs <UCSM IP> -imageDir <Image Directory> -infraOnly

-version: Target UCS manager version.

-ucs: UCS Manager IP Address to be upgraded

-imageDir: Directory where images are placed or to be downloaded (all 3 bundles, A, B and C)

-hfp: all (for updating all hfp) or default (for updating default hfp). hfp stands for Host Firmware Pack.

-infraOnly: Upgrades Infrastructure only (Optional Parameter)

Example 1:

UCSMFirmwareUpdate.ps1 -ucs “xx.xx.xx.xx” -version "3.2(2b)" -imagedir “c:\work\images” -infraOnly

Example 2:

UCSMFirmwareUpdate.ps1 -ucs “xx.xx.xx.xx” -version "3.2(2b)" -imagedir “c:\work\images” -hfp all

Example 3:

UCSMFirmwareUpdate.ps1 -ucs “xx.xx.xx.xx” -version "3.2(2b)" -imagedir “c:\work\images” -hfp default

Community Member


Thanks so much for the update! I'll download the new script and test it out.



Community Member

Any updates or movement on this?

Cisco Employee


We have updated the UCSM firmware upgrade script. Now the script uses the auto-install functionality for upgrading the UCSM.

Please use the latest script and let us know if you need any more information.

Examples/Usages are provided above and in the script as well.


Vinay Ravish



  The new script works, thank you for the assistance.



Is there a way to add "Prepare for Firmware Install" part of the Auto install?



CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.