Hi,
Has anyone successfully connected to ucs using function when i try to ucs my connection function í connect to ucs successfully but I get error massage saying "get-ucsblade : No UcsHandle specified and the Default Ucs list is empty."
then if i run $DefaultUcs my list is empty
this is my function I am trying to use
function connect-to-ucs {
$cred = Get-Credential -UserName admin -Message "admin"
Connect-UCS -Name x.x.x.x -Credential $cred
}
if I just connect with connect-ucs -name x.x.x.x
and run $DefaultUcs it show my connection to ucs