Manage-UcsBladeLabel

Version 1

    UCS Power Scripting Submission Form

     

    UCS Communities Login ID: dchosnek@cisco.com

    Twitter handle (optional): @dchosnek

    Have you read the Official Rules of the Contest and do you accept the terms and conditions Yes  [ X ] No  [   ]

    Are you a Cisco employee            Yes  [ X ]    No  [   ]

    Does the script run on an emulator  Yes  [ X ]    No  [   ]

              If yes which version? tested with 2.2(1b) but no reason to believe it won't work with other versions

     

     

     

    Include your script here:


    The script is attached as a zip file and updates the user label for every blade so that the Equipment tab gives you a good overview of how your blades are being utilized and what resources are still unconsumed. It uses the Watch-Ucs cmdlet to continuously monitor and instantly change a blade's user label to reflect its current status. It shows the profile name if a profile is assigned, the blade's inventory if no profile is assigned, and the word "associating" or "disassociating" if a profile is in the associating or disassociating state. If a change is made to a blade, the label is instantly updated to reflect that change.

    manage_labels.png