< Back

Repair-NsxEdge

Sat Jan 18, 2020 9:26 pm

NAME Repair-NsxEdge



SYNOPSIS

Resyncs or Redploys the specified NSX Edge Services Gateway appliance.





SYNTAX

Repair-NsxEdge [-Edge] <XmlElement> [-Confirm] [-Operation] <String> [[-Connection] <PSObject>]

[<CommonParameters>]





DESCRIPTION

An NSX Edge Service Gateway provides all NSX Edge services such as firewall,

NAT, DHCP, VPN, load balancing, and high availability. Each NSX Edge virtual

appliance can have a total of ten uplink and internal network interfaces and

up to 200 subinterfaces. Multiple external IP addresses can be configured

for load balancer, site???????????????to???????????????site VPN, and NAT services.



The Repair-NsxEdge cmdlet allows a Resync, Redploy or Upgrade operation to be

performed on the specified Edge appliance.



WARNING: Repair operations can cause connectivity loss. Use with caution.





PARAMETERS

-Edge <XmlElement>

The Edge object to be repaired. Accepted on pipline



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



-Operation <String>

WARNING: This operation can potentially cause a datapath outage depending on the deployment architecture.

Specify the repair operation to be performed on the Edge.

If ForceSync - The edge appliance is rebooted

If Redeploy - The Edge is removed and redeployed (if the edge is HA this causes failover, otherwise, an

outage.)

If Upgrade - The Edge is upgraded to latest release



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Connection <PSObject>

PowerNSX Connection object



Required? false

Position? 3

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 | Repair-NsxEdge -Operation Redeploy



Redeploys the ESG Edge01.









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



PS C:\\>Get-NsxEdge Edge01 | Repair-NsxEdge -Operation ReSync -Confirm:$false



Resyncs the ESG Edge01 without confirmation.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-NsxEdge Edge01 | Repair-NsxEdge -Operation Upgrade -Confirm:$false



Upgrade the ESG Edge01 to last release without confirmation.











RELATED LINKS