Just a quick Q.
I need to query a particular OU "disabled users" with all the disabled user
accounts and have all their memberof details deleted.
I can get the disabled user accounts fine, I just need a way to pipe into
DSMOD (or another method) and delete the groups that they are members of
(just leaving the primary group, I.e. Domain Users)-
I have looked at the -RMMBR switch but this seems to apply to a group itself.
Is there a quick way of doing this.
Appreciate any help on this
Bookmarks