diff --git a/module/PowerNSX.psm1 b/module/PowerNSX.psm1 index ffbc6dc7..da4e4341 100644 --- a/module/PowerNSX.psm1 +++ b/module/PowerNSX.psm1 @@ -13468,6 +13468,10 @@ function New-NsxEdge { #Enable SSH [ValidateNotNullOrEmpty()] [switch]$EnableSSH=$false, + [Parameter (Mandatory=$false)] + #Enable FIPs mode + [ValidateNotNullOrEmpty()] + [switch]$EnableFIPS=$false, [Parameter (Mandatory=$false)] #Enable autogeneration of edge firewall rules for enabled services. Defaults to $true [ValidateNotNullOrEmpty()] @@ -13525,6 +13529,11 @@ function New-NsxEdge { Add-XmlElement -xmlRoot $xmlRoot -xmlElementName "name" -xmlElementText $Name Add-XmlElement -xmlRoot $xmlRoot -xmlElementName "fqdn" -xmlElementText $Hostname + #Enable FIPs mode + if ( $EnableFIPS ) { + Add-XmlElement -xmlRoot $xmlRoot -xmlElementName "enableFips" -xmlElementText "true" + } + Add-XmlElement -xmlRoot $xmlRoot -xmlElementName "type" -xmlElementText "gatewayServices" if ($PSBoundParameters.ContainsKey("Tenant")) { Add-XmlElement -xmlRoot $xmlRoot -xmlElementName "tenant" -xmlElementText $Tenant