cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
15713
Views
2
Helpful
17
Replies

UCS PowerTool + Multi UCS Domains + Health Check Script

jimstehlik
Level 1
Level 1

Hello All,

I found this great script by Jeff Silberman that performs an extensive UCS Health Check.  I've attached the script for reference.  The question I have is I have been trying to modify it so that I can execute it on mulitple UCS domains at one time and create an output file for each domain in the format as follows:

'C:\Output\${ucs}-${yyyy}${MM}&{dd}-${HH}${mm}-HealthCheck.html'

Any and all assitance will be greatly appreciated.

Thank you,

Jim

17 Replies 17

page is already restricted.

grramnathravi
Level 1
Level 1

Hi,

Do you have without domain authentication, i mean based on local account to how to generate report ?

Credentials can be stored to a file. The stored credentials are encrypted with a specified Key.

Export-UcsPSSession -LiteralPath C:\work\labs.xml
Disconnect-Ucs
Login can be initiated from credentials stored in a file.

Connect-Ucs -LiteralPath C:\work\labs.xml
Specify proxy while logging in with credentials stored in a file.

$proxy = New-Object System.Net.WebProxy
$proxy.Address = "http:\\<url>:<port>"
$proxy.UseDefaultCredentials = $false
$proxy.Credentials = New-Object System.Net.NetworkCredential("<user name>", "<password>")
Connect-Ucs -LiteralPath C:\work\lab.xml –Proxy $proxy
Login to an additional system and add the credentials to the file.

Connect-Ucs <ip3>
Export-UcsPSSession -Path C:\work\lab?.xml -Merge

The information can be found at :  Cisco UCS PowerTool, Release 1.x User Guide - Cisco

Jim

Review Cisco Networking for a $25 gift card

Cisco UCS X-Series Energy Efficiency Offer