vmware / powershell-module-for-vmware-cloud-foundation-password-management

PowerShell Module for VMware Cloud Foundation Password Management
https://vmware.github.io/powershell-module-for-vmware-cloud-foundation-password-management/
BSD 2-Clause "Simplified" License
12 stars 9 forks source link

Update Example Get-PasswordPolicyDefault -version '5.0.0' #127

Closed burnsjared0415 closed 1 year ago

burnsjared0415 commented 1 year ago

Code of Conduct

Module Version

Example needs to be updated based on version

Motivation

Get-PasswordPolicyDefault -version '5.0.0' will return error: 
Get-PasswordPolicyDefault : Cannot validate argument on parameter 'version'. The argument "5.0.0" does not belong to the set "4.4.0.0,4.4.1.0,4.5.0.0,4.5.1.0,4.5.2.0,5.0.0.0" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again. At line:1 char:36 + Get-PasswordPolicyDefault -version '5.0.0' +                                    ~~~~~~~ + CategoryInfo          : InvalidData: (:) [Get-PasswordPolicyDefault], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationError,Get-PasswordPolicyDefault

Suggestion

Modify example to be:

Get-PasswordPolicyDefault -version '5.0.0.0' 
tenthirtyam commented 1 year ago

@sowjuec - I've assigned you this item to update in the module examples and the markdown docs.

github-actions[bot] commented 11 months ago

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.