Jump to content


Sign in to follow this  
Vancouverite

Scripting Collection Membership

Recommended Posts

Does anyone know if it is possible to add (or remove) a computer from a collection by means of a script (one that could be incorporated into a task sequence)?

 

I was considering creating a package that ran a .vbs script to add the machine's account into an AD group and doing it that way (with the collection membership being based upon a query of AD). But it occurs to me that (in theory) a script could just as easily be used to directly modify the collection membership instead.

Share this post


Link to post
Share on other sites


mmm...i've often wondered this but never managed to get around to trying it. We generally just use the method you described. We have a BIT different take on it also as we used a GPO on the OU to add it to standard LOB applications for the Site.

 

let us know if which way you'll head as i'd be curious to see how you go about it.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...