Skip to content

feat: readable Get-PasswordPolicyDefault output #178

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

Merged
merged 1 commit into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Breaking Change:
Enhancement:

- Added 5.1.1.0 to `Get-PasswordPolicyDefault` and `Get-PasswordPolicyConfig` to support VMware Cloud Foundation 5.1.1. [GH-164](https://github.com/vmware/powershell-module-for-vmware-cloud-foundation-password-management/pull/164)
- Enhanced `Get-PasswordPolicyDefault` to show summary in easily readable format. [GH-178](https://github.com/vmware/powershell-module-for-vmware-cloud-foundation-password-management/pull/178)

Bugfix:

Expand Down
2 changes: 1 addition & 1 deletion VMware.CloudFoundation.PasswordManagement.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
RootModule = '.\VMware.CloudFoundation.PasswordManagement.psm1'

# Version number of this module.
ModuleVersion = '1.7.2.1005'
ModuleVersion = '1.7.2.1006'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
2 changes: 1 addition & 1 deletion VMware.CloudFoundation.PasswordManagement.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,7 @@ Function Get-PasswordPolicyDefault {
$defaultConfig | ConvertTo-Json -Depth 25 | Out-File -FilePath $jsonFile
Write-Output "Generated JSON File ($jsonFile) with Product Password Policy Default Values"
} else {
$defaultConfig
$defaultConfig | ConvertTo-Json -Depth 25
}
}
Export-ModuleMember -Function Get-PasswordPolicyDefault
Expand Down