Set-ADAccountControl : Insufficient access rights to perform the operation
this error appear only when the command is run on a domain controller;
to pas by you need to add "-Server" parameter and indicate an alternate domain controller.
Set-ADAccountControl $_ -PasswordNotRequired $false -Server dcname
No comments:
Post a Comment