Disconnect-OVMgmt
Syntax
Description
This Cmdlet will logoff the current user, which terminates the user session, on the specified HPE OneView appliance. When logging off of an appliance, and multiple connections have been established, the next appliance connection within ${Global:ApplianceConnections} is made the default connection. To change the default connection to a different appliance, use Set-OVApplianceDefaultConnection.
Examples
Example 1
Disconnect from the specific appliance session.
Example 2
Disconnect ConnectionID 1 appliance session.
Example 3
Disconnect all appliance sessions.
Parameters
-ApplianceConnection <Object>
Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).
| Aliases | Appliance, ApplianceSession, Hostname |
|---|---|
| Required? | False |
| Position? | Named |
| 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)
Input Types
None. You cannot pipe objects to this Cmdlet.