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

Commit

Permalink
Set-nNsxEdge: fix passwordExpiry (need to be ToString())
Browse files Browse the repository at this point in the history
  • Loading branch information
alagoutte committed Aug 5, 2019
1 parent aeac9aa commit c6ff81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/PowerNSX.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -14026,7 +14026,7 @@ function Set-NsxEdge {
if ( invoke-xpathquery -node $_Edge -querymethod SelectSingleNode -Query "child::cliSettings/passwordExpiry" ) {
$_Edge.cliSettings.passwordExpiry = $passwordExpiry
} else {
Add-XmlElement -xmlroot $_Edge.cliSettings -xmlElementName "passwordExpiry" -xmlElementText $passwordExpiry
Add-XmlElement -xmlroot $_Edge.cliSettings -xmlElementName "passwordExpiry" -xmlElementText $passwordExpiry.ToString()
}
}

Expand Down

0 comments on commit c6ff81d

Please sign in to comment.