Showing results for 
Search instead for 
Did you mean: 

Set the UCS BIOS Policies according to Performance Tuning Guide for Cisco UCS M4 Servers. (PowerShell Script)


Get(All UCS servers) and Set (only M4) BIOS policies according to best practices

All CISCO UCS servers are required to follow the following best practices recommendations for their BIOS policies.




The BIOS policies have various parameters that are set to enabled/disabled/platform-default according to the type of usage of the servers.

GET SCRIPT: With many customers having 1000s of servers distributed among many data centers with many bios policies running, it can be a hard task to go back and reset individual parameters. This script parses through every parameter of a BIOS policy and exports it to an excel sheet local to the computer running it. The input to this script is an excel sheet with IPs/username/password of all the UCS domains in regards to the BIOS policies and their parameters.

SET SCRIPT: Its not enough to just get the information, we may also need to act on it. The Set script does this exactly. For M4 servers, managed by UCS, this script parses all the parameters and sets the right parameters to the right setting based on best practice recommendations. This allows the user to avoid having to click the radio button inside these BIOS policies at risk of human error. Note: The risk is even greater considering that fact that changing the BIOS policy kicks off a reboot in the server (Pending activities based on maintenance policy).

SCOPE of SET script: The scope of the set script is defined to one domain and one policy at a time to localize the affect of the change. This script can be changed to incorporate the M3 and M5 UCS Managed Servers. There are minor changes in BIOS policy parameters when dealing with multiple platforms.


Link to the scripts:


Cisco Employee
Recognize Your Peers
Content for Community-Ad