< Back

Get-NsxSecondaryManager

Sat Jan 18, 2020 9:10 pm

NAME Get-NsxSecondaryManager



SYNOPSIS

Gets configured secondary NSX Managers from the connected NSX Manager.





SYNTAX

Get-NsxSecondaryManager [-Connection <PSObject>] [<CommonParameters>]



Get-NsxSecondaryManager -Uuid <String> [-Connection <PSObject>] [<CommonParameters>]



Get-NsxSecondaryManager [-Name] <String> [-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

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

vSphere.



If run against a primary NSX Manager, the Get-NsxSecondaryManager cmdlet

retrieves configured secondary NSX managers. If run against a secondary

NSX Manager, information about the configured primary is returned.





PARAMETERS

-Uuid <String>

UUID of Nsx Secondary Manager to return



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

Name of Nsx Secondary Manager to return



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Connection <PSObject>

PowerNSX Connection object



Required? false

Position? named

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 -connection $PrimaryNsxManagerConnection



uuid : 08edd323-fd72-4fd6-9de5-6072bb077d0e

nsxManagerIp : nsx-m-01b

nsxManagerUsername : replicator-08edd323-fd72-4fd6-9de5-6072bb077d0e

certificateThumbprint : d7:8d:8a:06:55:52:2a:49:00:06:b1:58:c2:cd:2b:82:21:6b:2f:92

isPrimary : false



Retrieves the configured secondary NSX managers on the primary NSX manager

defined in the connection $PrimaryNsxManagerConnection.









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



PS C:\\>Get-NsxSecondaryManager -connection $SecondaryNsxManagerConnection



uuid : 423CA89C-FCED-43C8-6D20-E15CF52E654A

nsxManagerIp : 192.168.102.201

primaryUuid : 8f356635-3c5f-4d72-8f42-bbc6419ce678

primaryNsxManagerIp : 192.168.101.201

isPrimary : false



Retrieves the configured details of the specified secondary NSX manager, and

the primary NSX manager IP Address and uuid











RELATED LINKS