diff --git a/module/PowerNSX.psm1 b/module/PowerNSX.psm1 index 7938e434..94d47d47 100644 --- a/module/PowerNSX.psm1 +++ b/module/PowerNSX.psm1 @@ -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. @@ -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()] @@ -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