Forum Discussion
Ajkbond
Aug 25, 2023Copper Contributor
PS Script to remove users from a group in same domain and other domains with in forest
I am trying to remove users from a group using PS but it will only allow me to remove users in that domain and not from other domain within the forest, (user not found error for other domain within f...
Aug 26, 2023
This is interesting 🤔, you should be part of the universal administration group, to list all the domain users, and search in the trusted domains, but also, you must specify the domain controller where you want to look at... have you search for it in the powershell gallery?