VMware Cloud Community
jvm2016
Hot Shot
Hot Shot
Jump to solution

esxi_root_password_policy_powercli

Hi Luc,

can we alter esxi root password lockout policy though powercli

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

You can use the Advanced Setting Security.PasswordQualityControl for that.

Use Get- and Set-AdvancedSetting cmdlets for that.

The value of that advanced setting is documented in ESXi Passwords and Account Lockout


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

Reply
0 Kudos
8 Replies
LucD
Leadership
Leadership
Jump to solution

You can use the Advanced Setting Security.PasswordQualityControl for that.

Use Get- and Set-AdvancedSetting cmdlets for that.

The value of that advanced setting is documented in ESXi Passwords and Account Lockout


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

thanks its working if i set any value other than 15 mins which is deafault using set-advanced settings do i need to reboot host after changing value?

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

Afaik, no.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

thought of asking how yu stopping running script

iam using clt+C   or clt+Z  to stop it works somestimes but not always .is there any other way??

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

From my own experience, sometimes the only way is to stop your PS session


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

also i have recently updated powercli to 12.0.0.0 and my expectation was it will be faster but i am experincing it has become slower and not sure how i am modules of other versions being dispalyed in following thouh 6.s msi was uninstalled completely.

I HATE SLOW ....:smileycry:

pastedImage_0.png

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

Do you have any idea what specifically is slower?
Or is it a general feeling that everything is slower?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

i will let you know .however for example when i was using coonect-viserver to connet esxi the password prompt took long time to appear .its one of the things i observed like wise

getting output from get commands also took longer time.

Reply
0 Kudos