Re: batch remove users from groups?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi
Check ds (dsquery, dsget, dsmod....) tools fromMS at MS website and script center.

--
I hope that the information above helps you.
Have a Nice day.

Jorge Silva
MCSE, MVP Directory Services

Please no e-mails, any questions should be posted in the NewsGroup
This posting is provided "AS IS" with no warranties, and confers no rights.
"Ben Cooper" <BenCooper@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:90D37B61-238B-483A-AFF5-AAE4CCAC7E0A@xxxxxxxxxxxxxxxx
Is there a way to batch remove users from a specific group? Something
similar to the AD Users & Computers "Add members to a group..." function, but
to remove the users.

We have roughly 2000 user accounts. Individually clicking each account to
remove them as member of these groups would never end.

Any insight would be appreciated.

.



Relevant Pages

  • Re: Adding bulk members into a distribution group.
    ... pointed out i have about 450 members to add. ... I do know the DN of the distribution group ... ... run a script that adds these users into that group a faster way it would be ... > Where are the 450 user accounts stored, are they all in the same OU? ...
    (microsoft.public.windows.server.scripting)
  • Re: Adding bulk members into a distribution group.
    ... You can use dsget.exe to export the members to a text file (This is all ... > I do know the DN of the distribution group ... ... > run a script that adds these users into that group a faster way it would be ... >> Where are the 450 user accounts stored, are they all in the same OU? ...
    (microsoft.public.windows.server.scripting)
  • Re: List Members of a Group (with user input)
    ... Wscript.Echo "No members" ... Dim objRootDSE, objTrans, strNetBIOSDomain, strGroup ... I would like one that does not require editing of the script each time. ... Dim UserCount, gga, CNgga ...
    (microsoft.public.scripting.vbscript)
  • SUMMARY: How to create password in the script? Version 2
    ... I wrote the following script to create multiple user accounts that I would ... Use the following syntax within the script right after the 'useradd' line ... but the shadow file has two lines for one user. ...
    (SunManagers)
  • Re: I need help with a login script
    ... You rewrite the script but I think it will be time consuming trying ... "Costas" wrote: ... Users are members of security group Accounting sales etc. Lsnsrv01 is ... wshNetWork.SetDefaultPrinter "\\lsnsrv01\2840Color" ElseIf ...
    (microsoft.public.windows.server.sbs)