Removing Active Directory User with Powershell
It’s very easy to remove an Active Directory user with Powershell.
1 2 | $CustomerOU = [ADSI] "LDAP://$CustomerOU,$FQDN" $RemoveADUser = $CustomerOU.Delete("User", "CN=$Username") |
Again and again, please be sure about your LDAP path.
Tags: remove ad user, removing ad user with powershell, removing domain user with powershell
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply