Tag: PowerTools

Cisco UCS PowerTools

Cisco UCS PowerShell: ConvertTo-UCSCmdlet

This week I had a chance to be part of a Cisco UCS course and the trainer Walter Dey (ex Cisco Distinguished Engineer) showed me a great feature in the Cisco UCS PowerShell Module called Cisco UCS PowerTools. The Convertto-UCSCmdlet allows you to record the things you do in the UCS Manager (GUI) and converts this into Windows PowerShell cmdlets.

Thomas Maurer Walter Dey

To use this, this is pretty simple first install the UCS PowerTools and Connect to your UCS with the same user you connect to the UCS Manager. Checkout my blog post about the Cisco UCS PowerTools.

After that run the cmdlet:

Convertto-UCSCmdlet

After that open the UCS Manager session and do the steps you want to recored.

Cisco UCS PowerTools

I have to say, this is just great feature included in the Cisco UCS PowerTools.



Cisco UCS Microsoft Solutions

Manage your Cisco UCS with Windows PowerShell

Cisco does a really great job on supporting different management software for their blade center. For example Cisco offers a System Center Virtual Machine Manager Add-in to manage your Cisco fabric directly from the SCVMM console, a System Center Orchestrator Integration Pack for automation and a System Center Operations Manager Management Pack for monitoring. But another great thing they offer is the PowerShell module for the Cisco UCS called Cisco UCS PowerTools, which allows you to manage and automate your Cisco Blade Center via Windows PowerShell. The Cisco PowerShell module offers round 1400 PowerShell cmdlets which allows you basically to do every task from the console.

To connect to your Cisco UCS system you can use the following cmdlet:

 
Connect-Ucs <ip or hostname>

and you can use other cmdlets to manage your Blades, VLANs or Service Profiles.

 
Get-Ucsblade
Get-UcsServiceProfile
Connect-UcsServiceProfile -ServiceProfile ServiceProfileName -Blade ServerID

 

You can get the Cisco UCS PowerTools from the Cisco Website.