You create the initial password policy configuration file with product default values by using the VMware.CloudFoundation.PasswordManagement PowerShell module. You update the values in the file according to the requirements of your organization.

Procedure

  1. Start PowerShell.

  2. Replace the values in the sample code with the desired JSON filename and run the command in the PowerShell console.

    $policyFile = "PasswordPolicyConfig.json"
  3. Perform the configuration by running the command in the PowerShell console.

    Get-PasswordPolicyDefault -generateJson -jsonFile passwordPolicyConfig.json
  4. Open the PasswordPolicyConfig.json file in an editor.

  5. Modify the values according to the requirements of your organization and save the file.