Alternately you could use restricted groups and have one admin account in it that you enable/disable as needed. Call it "SoftwareInstall1" or something. David Lum // SYSTEMS ENGINEER NORTHWEST EVALUATION ASSOCIATION (Desk) 971.222.1025 // (Cell) 503.267.9764
From: Miller Bonnie L. [mailto:[email protected]] Sent: Friday, November 05, 2010 1:02 PM To: NT System Admin Issues Subject: RE: Script to remove all users from a group Thanks Sean-that works great. -Bonnie From: Sean Martin [mailto:[email protected]] 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. <[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]> 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 [email protected]<mailto:[email protected]> 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 [email protected]<mailto:[email protected]> 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 [email protected] with the body: unsubscribe ntsysadmin
