Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set-DbaLogin and New-DbaLogin have slightly different parameter names #5684

Closed
indented-automation opened this issue Jun 6, 2019 · 0 comments · Fixed by #5686
Closed

Set-DbaLogin and New-DbaLogin have slightly different parameter names #5684

indented-automation opened this issue Jun 6, 2019 · 0 comments · Fixed by #5686

Comments

@indented-automation
Copy link

Summary of new feature

Set-DbaLogin and New-DbaLogin should use the same parameter names where possible.

Proposed technical details (if applicable)

New-DbaLogin uses PasswordPolicy and PasswordExpiration.
Set-DbaLogin uses PasswordPolicyEnforced.
SMO uses PasswordPolicyEnforced and PasswordExpirationEnabled.

The parameters across the different commands should be aligned. Perhaps in line with the output from SMO.

Latest version of dbatools as of writing

0.9.834

hseyindemir added a commit to hseyindemir/dbatools that referenced this issue Jun 7, 2019
hseyindemir added a commit to hseyindemir/dbatools that referenced this issue Jun 7, 2019
potatoqualitee added a commit that referenced this issue Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant