Quantcast
Channel: VMware Communities : Popular Discussions - vCloud Director PowerCLI
Viewing all articles
Browse latest Browse all 13334

vCloud Director: Create New Org With Password Policy Settings

$
0
0

Hello,

 

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.

 

Thank you,

 

Jkasalzuma


Viewing all articles
Browse latest Browse all 13334

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>