< Back
Disconnect-NsxServer
Post
NAME Disconnect-NsxServer
SYNOPSIS
Destroys the $DefaultNSXConnection global variable if it exists.
SYNTAX
Disconnect-NsxServer [<CommonParameters>]
DESCRIPTION
REST is not connection oriented, so there really isnt a connect/disconnect
concept. Disconnect-NsxServer, merely removes the $DefaultNSXConnection
variable that PowerNSX cmdlets default to using.
PARAMETERS
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Connect-NsxServer -Server nsxserver -username admin -Password VMware1!
RELATED LINKS
SYNOPSIS
Destroys the $DefaultNSXConnection global variable if it exists.
SYNTAX
Disconnect-NsxServer [<CommonParameters>]
DESCRIPTION
REST is not connection oriented, so there really isnt a connect/disconnect
concept. Disconnect-NsxServer, merely removes the $DefaultNSXConnection
variable that PowerNSX cmdlets default to using.
PARAMETERS
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Connect-NsxServer -Server nsxserver -username admin -Password VMware1!
RELATED LINKS