< Back

Remove-NsxEdgeInterfaceAddress

Sat Jan 18, 2020 9:21 pm

NAME Remove-NsxEdgeInterfaceAddress



SYNOPSIS

Removes the specified address configuration for the specified interface





SYNTAX

Remove-NsxEdgeInterfaceAddress [-InterfaceAddress] <XmlElement> [-Confirm] [[-Connection] <PSObject>]

[<CommonParameters>]





DESCRIPTION

NSX ESGs interfaces can be configured with multiple 'Address Groups'. This

allows a single interface to have IP addresses defined in different subnets,

each complete with their own Primary Address, Netmask and zero or more

Secondary Addresses.



The Remove-NsxEdgeInterfaceAddress cmdlet removes the address specified

from the specified interface.





PARAMETERS

-InterfaceAddress <XmlElement>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompt for confirmation. Specify as -confirm:$false to disable confirmation prompt



Required? false

Position? named

Default value True

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-NsxEdge Edge01 | Get-NsxEdgeInterface -Index 9 | Get-NsxEdgeInterfaceAddress -PrimaryAddress 1.2.3.4 |

Remove-NsxEdgeInterfaceAddress



Removes the address group with primary address 1.2.3.4 defined on vNic 9 of the ESG Edge01.











RELATED LINKS