Skip to content

WSA Local User Password Policy does not match Update #180

Closed
@burnsjared0415

Description

@burnsjared0415

Code of Conduct

  • I have read and agree to the Code of Conduct.
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

VMware Cloud Foundation

5.1.0.0

PowerShell Version

Core Powershell 7.3.11

PowerCLI Version

13.2.1.22851661

Module Version

lastest

PowerValidatedSolutions Version

lastest

PowerVCF Version

lastet

Guest Operating System

Mac

Environment Details

No response

Description

I am working on Clustered Aria Workspace one Update and Request scripts, I have noticed that in the policy file we are only check 3 values:

    $wsaLocalPasswordComplexity | Add-Member -notepropertyname 'minLength' -notepropertyvalue "1"
    $wsaLocalPasswordComplexity | Add-Member -notepropertyname 'retries' -notepropertyvalue "3"
    $wsaLocalPasswordComplexity | Add-Member -notepropertyname 'history' -notepropertyvalue "5"

but in the Update-WsaLocalUserPasswordComplexity we are look to update:

Set-LocalPasswordComplexity -vmName ($wsaFqdn.Split("."))[-0] -guestUser root -guestPassword $wsaRootPass -minLength $minLength -uppercase $minUppercase -lowercase $minLowercase -numerical $minNumerical -special $minSpecial -unique $minUnique -class $minClass -sequence $maxSequence -history $history -retry $maxRetry | Out-Null

need to know which settings are correct between the two scripts

Error or Debug Output

None

Expected Behavior

just reviewed the two functions : Function Get-PasswordPolicyDefault and Function Update-WsaLocalUserPasswordComplexity

Actual Behavior

no behavior just a difference in functions

Steps to Reproduce

just review functions

Log Fragments and Files

No response

Screenshots

No response

References

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions