-
Notifications
You must be signed in to change notification settings - Fork 52
Disconnect HPOVMgmt
Disconnect from the appliance.
Disconnect-HPOVMgmt[ [-ApplianceConnection] <Object>] [<CommonParameters>]
This cmdlet disconnects the specified or all HPE OneView appliance session(s).
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance, ApplianceSession, Hostname |
Required? | False |
Position? | 0 |
Default value | $ConnectedSessions | Where-Object Default |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
None. You cannot pipe objects to this cmdlet.
None.
-------------------------- EXAMPLE 1 --------------------------$Connection1 = Connect-HPOVMgmt MyAppliance.domain.com Disconnect-HPOVMgmt -Hostname $Connection1
Disconnect from the specific appliance session.
-------------------------- EXAMPLE 2 --------------------------Disconnect-HPOVMgmt -Hostname 1
Disconnect ConnectionID 1 appliance session.
-------------------------- EXAMPLE 3 --------------------------$ConnectedSessions | Disconnect-HPOVMgmt
Disconnect all appliance sessions.
Disconnect from the appliance.
Disconnect-HPOVMgmt[ [-ApplianceConnection] <Object>] [<CommonParameters>]
This cmdlet disconnects the specified or all HPE OneView appliance session(s).
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance, ApplianceSession, Hostname |
Required? | False |
Position? | 0 |
Default value | $ConnectedSessions | Where-Object Default |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
None. You cannot pipe objects to this cmdlet.
None.
-------------------------- EXAMPLE 1 --------------------------$Connection1 = Connect-HPOVMgmt MyAppliance.domain.com Disconnect-HPOVMgmt -Hostname $Connection1
Disconnect from the specific appliance session.
-------------------------- EXAMPLE 2 --------------------------Disconnect-HPOVMgmt -Hostname 1
Disconnect ConnectionID 1 appliance session.
-------------------------- EXAMPLE 3 --------------------------$ConnectedSessions | Disconnect-HPOVMgmt
Disconnect all appliance sessions.