I am looking for some advice or insight on how to set the Password Policy on an org to "Enabled" during creation and set the Lockout attempts and duration.
In looking at the API information, the call format from PS to the vCD API should be what I have below, but when I run it in a script, it gets passed over and not run.
$lockout = $org.ExtensionData.Settings.GetPasswordPolicy()
$lockout.AccountLockoutEnabled = $True
$lockout.InvalidLoginsBeforeLockout = 6
$lockout.AccountLockoutIntervalMinutes = 11
If someone has some insight I would be very much appreciative.