Merge 9e955cd037
into 739c8cb9b0
This commit is contained in:
commit
eff5c0f85c
|
@ -175,7 +175,7 @@ function Connect-To {
|
|||
switch ($Type) {
|
||||
"CiscoUcs" {
|
||||
try {
|
||||
$handle = Connect-Ucs -Name $RemoteHost -Credential $creds -ErrorAction Stop
|
||||
$handle = Connect-Ucs -Name $RemoteHost -Credential $creds -ErrorAction Stop -NotDefault
|
||||
$ExecutionContext.SessionState.PSVariable.Set("DefaultUcs", $handle)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue