< Back

Remove-NsxSecondaryManager

Sat Jan 18, 2020 9:24 pm

NAME Remove-NsxSecondaryManager



SYNOPSIS

Removes a secondary NSX Manager from a CrossVC configured NSX

environment.





SYNTAX

Remove-NsxSecondaryManager [-SecondaryManager] <XmlElement> [-Confirm] [-Force] [[-Connection] <PSObject>]

[<CommonParameters>]





DESCRIPTION

The NSX Manager is the central management component of VMware NSX for

vSphere.



The Remove-NsxSecondaryManager cmdlet removes a secondary NSX Manager

from a CrossVC configured NSX environment.





PARAMETERS

-SecondaryManager <XmlElement>

Secondary NSX Manager object to be removed as returned by Get-NsxSecondaryManager



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Confirm removal.



Required? false

Position? named

Default value True

Accept pipeline input? false

Accept wildcard characters? false



-Force [<SwitchParameter>]

Force removal of a missing secondary.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Connection <PSObject>

PowerNSX Connection object



Required? false

Position? 2

Default value $defaultNSXConnection

Accept pipeline input? false

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-NsxSecondaryManager nsx-m-01b | Remove-NsxSecondaryManager



Remove the connected and functional NSX manager nsx-m-01b. nsx-m-01b will

be configured as a standalone manager.



If nsx-m-01b is not online, or functional, the attempt will fail and -force

must be used.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-NsxSecondaryManager nsx-m-01b | Remove-NsxSecondaryManager -force



Remove the NSX manager nsx-m-01b - no attempt is made to reconfigure the

secondary.











RELATED LINKS