Quantcast
Viewing all articles
Browse latest Browse all 31638

How to remove a domain user from a group in other domain?

Hi, I need to remove all groups from a domain user with powershell. The user belongs to groups in other domain in the tree. When I use "Remove-ADPrincipalGroupMembership" connected to user domain, it raises a referreal error. When I use "Remove-ADGroupMember" connected to group domain, it raises than user does not exist.

Anybody can do this?


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>