Thanks Sean-that works great. -Bonnie
From: Sean Martin [mailto:seanmarti...@gmail.com] Sent: Friday, November 05, 2010 11:47 AM To: NT System Admin Issues Subject: Re: Script to remove all users from a group dsget group cn=<group>,ou=<ou>,dc=contoso,dc=com -members | dsmod group -rmmbr I didn't test, but that should work. - Sean On Fri, Nov 5, 2010 at 10:33 AM, Miller Bonnie L. <mille...@mukilteo.wednet.edu<mailto:mille...@mukilteo.wednet.edu>> wrote: I need something that will take a specific domain global group (domain\groupname) and remove all members from that group. I'd like to schedule the task with Windows (2008 R2) Task Scheduler to run at a certain time every day. I'm thinking something that will run via cmd, PS, or even cscript, but I know very little about the second two-anything quick and easy out there to get the job done? -Bonnie ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe ntsysadmin