Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Changing User properties

$
0
0

Many thanks for your response – I figure it out earlier this morning with the following:-

$objUser.UserFlags = 64 + 65536 # ADS_UF_PASSWD_CANT_CHANGE + ADS_UF_DONT_EXPIRE_PASSWD


Viewing all articles
Browse latest Browse all 13067

Trending Articles