Nathan's Thoughts and Notes
IT tools and solutions, and thoughts on life.
Sunday, July 2, 2017
AD: Simple way to remove all members of a group
No loops required, use the
-clear
parameter in set-adgroup.
Set-adgroup -identity "name of group" -clear member
The time required to execute will vary depending on number of people in the group.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment