Merge 9e955cd0375bc1045ab768b9e1d1459eefac3677 into 739c8cb9b05eadb4552e2bca9d988f173a9c56da
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…
x
Reference in New Issue
Block a user