I'm trying to write a script to remove all groups from a user expect "domain users". I can remove one group at a time, but cant figure out a way to remove all of them at once?
I'm trying to write a script to remove all groups from a user expect "domain users". I can remove one group at a time, but cant figure out a way to remove all of them at once?