< Back

Remove-NsxTransportZoneMember

Sat Jan 18, 2020 9:26 pm

NAME Remove-NsxTransportZoneMember



SYNOPSIS

Removes an existing cluster from an existing Transport Zone.





SYNTAX

Remove-NsxTransportZoneMember [-TransportZone] <XmlElement> -Cluster <ClusterInterop[]> [-Wait] [-WaitTimeout

<Int32>] [-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

An NSX Transport Zone defines the maximum scope for logical switches that

are bound to it. NSX Prepared clusters are added to Transport Zones which

allows VMs on them to attach to any logical switch bound to the transport

zone.



The Remove-NsxTransportZoneMember cmdlet removes a cluster from an existing

Transport Zone on the connected NSX manager.





PARAMETERS

-TransportZone <XmlElement>

PowerNSX Transport Zone object to be updated



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Cluster <ClusterInterop[]>

Cluster to be added to the Transport Zone



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Wait [<SwitchParameter>]

Block until transport zone update job is 'COMPLETED' (Will timeout with prompt after -WaitTimeout seconds)

Useful if automating the tz modification so you dont have to write looping code to check status of the tz

before continuing.

NOTE: Not waiting means we do NOT return an updated tz object!



Required? false

Position? named

Default value True

Accept pipeline input? false

Accept wildcard characters? false



-WaitTimeout <Int32>

Timeout waiting for tz update job to complete before user is prompted to continue or cancel. Defaults to 30

seconds.



Required? false

Position? named

Default value 30

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-NsxTransportZone -UniversalOnly -Connection $bconn | Remove-NSxTransportZoneMember -Cluster

(get-cluster Compute1_b -Server vc-01b.corp.local) -Connection $bconn



Remove the cluster Compute1_b defined in vCenter server vc-01b.corp.local

from the universal transport zone configured on the nsx manager specified by

$bconn











RELATED LINKS