Skip to content

Commit 45763d5

Browse files
fix: error aria password complexity (vmware#184)
Changed: ```powershell $ariaPasswordPolicy | Add-Member -notepropertyname 'passwordExpiration' -notepropertyvalue $ariaPasswordComplexity ``` to: ```powershell $ariaPasswordPolicy | Add-Member -notepropertyname 'passwordComplexity' -notepropertyvalue $ariaPasswordComplexity ``` Signed-off-by: Jared Burns <[email protected]>
1 parent 4caafd5 commit 45763d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: VMware.CloudFoundation.PasswordManagement.psm1

+1-1
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ Function Invoke-PasswordPolicyManager {
726726
$esxiPasswordPolicy | Add-Member -notepropertyname 'accountLockout' -notepropertyvalue $esxiAccountLockout
727727
$ariaPasswordPolicy = New-Object -TypeName psobject
728728
$ariaPasswordPolicy | Add-Member -notepropertyname 'passwordExpiration' -notepropertyvalue $ariaPasswordExpiration
729-
$ariaPasswordPolicy | Add-Member -notepropertyname 'passwordExpiration' -notepropertyvalue $ariaPasswordComplexity
729+
$ariaPasswordPolicy | Add-Member -notepropertyname 'passwordComplexity' -notepropertyvalue $ariaPasswordComplexity
730730
$ariaPasswordPolicy | Add-Member -notepropertyname 'accountLockout' -notepropertyvalue $ariaAccountLockout
731731
if ($PsBoundParameters.ContainsKey("wsaFqdn")) {
732732
$wsaDirectoryPasswordPolicy = New-Object -TypeName psobject

0 commit comments

Comments
 (0)