Using the JSON configuration file, you can configure the password policy settings for SDDC Manager, vCenter Single Sign-On, vCenter Server, ESXi, NSX Local Manager, and NSX Edge.
Procedure
-
Start PowerShell.
-
Replace the values in the sample code with values from your VMware Cloud Foundation Planning and Preparation Workbook and run the commands in the PowerShell console.
$sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerUser = "[email protected]" $sddcManagerPass = "VMw@re1!" $sddcRootPass = "VMw@re1!" $reportPath = "F:\Reporting" $policyFile = "PasswordPolicyConfig.json"
-
Perform the configuration by running the command in the PowerShell console.
Start-PasswordPolicyConfig -sddcManagerFqdn $sddcManagerFqdn -sddcManagerUser $sddcManagerUser -sddcManagerPass $sddcManagerPass -sddcRootPass $sddcRootPass -reportPath $reportPath -policyFile $policyFile