Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Repair-NsxEdge: Add Upgrade feature to Nsx-Edge #454

Merged
merged 2 commits into from
Jan 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions module/PowerNSX.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -13695,8 +13695,8 @@ function Repair-NsxEdge {
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 or Redploy operation to be
performed on the specified Edges appliance.
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.

Expand All @@ -13710,6 +13710,11 @@ function Repair-NsxEdge {

Resyncs the ESG Edge01 without confirmation.

.EXAMPLE
Get-NsxEdge Edge01 | Repair-NsxEdge -Operation Upgrade -Confirm:$false

Upgrade the ESG Edge01 to last release without confirmation.

#>

[CmdletBinding()]
Expand All @@ -13728,7 +13733,8 @@ function Repair-NsxEdge {
#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.)
[ValidateSet("ForceSync", "Redeploy")]
#If Upgrade - The Edge is upgraded to latest release
[ValidateSet("ForceSync", "Redeploy","Upgrade")]
[string]$Operation,
[Parameter (Mandatory=$False)]
#PowerNSX Connection object
Expand Down