Setting “Password never expires” for Active Directory Users with Powershell
Posted in Hosting & IIS7, Windows Powershell, Windows Server | 1 Comment | 10,713 views | 02/03/2010 12:13
You have to set “Password never expires” for some active directory users like IIS or SCVMM users. To do this with Powershell, we’ll simply use “userAccountControl” property with Powershell.
65536 means “Password never expires”. Be careful with LDAP name.
Tags: ad user password never expires, password never expires, powershell ad user password policy, set password never expiress powershell
Leave a Reply