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

Commit

Permalink
Repair-NsxEdge: Add Upgrade feature to Nsx-Edge
Browse files Browse the repository at this point in the history
It is now possible to upgrade Edge with a cmdlet !
  • Loading branch information
alagoutte committed Jan 21, 2018
1 parent 93ab52d commit 2023858
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions module/PowerNSX.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -13695,7 +13695,7 @@ 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
The Repair-NsxEdge cmdlet allows a Resync, Redploy or Upgrade operation to be
performed on the specified Edges 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 upgrade to last release
[ValidateSet("ForceSync", "Redeploy","Upgrade")]
[string]$Operation,
[Parameter (Mandatory=$False)]
#PowerNSX Connection object
Expand Down

0 comments on commit 2023858

Please sign in to comment.