See:
Remove Users
Roger Roger
7,631
Reputation points
I have an Active Directory group—let's say Group1—which currently has around 300 disabled users as members. Could you please guide me on how to remove these disabled users from the group from powershell.
Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Answer accepted by question author
-
S.Sengupta 30,501 Reputation points MVP Volunteer Moderator
2025-05-20T00:35:10.8533333+00:00