07-13-2013 04:23 PM
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
04-11-2018 05:37 PM
page is already restricted.
08-08-2014 08:23 AM
Hi,
Do you have without domain authentication, i mean based on local account to how to generate report ?
08-08-2014 12:22 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide