Jump to content

Add Computer to Group and or OU


Recommended Posts

Before I get started on re-inventing the wheel, I wanted to check if anyone already has code to move a computer (or multiple computers) from one OU to another.

Also looking for a way to add computers to a security group in AD.

Anything basic would be good, but if you have anything that's well suited for my task mentioned below, that would be great.

I only have Domain admin rights to my division OU, not the whole domain.

I have a Computers OU with a sub OU for XP machines and a sub OU for W2K machines.

I also have two groups for XP and W2K respectively.

I'm having trouble getting some of our remote sites to place computers in the proper containers when they create them so I'm looking for a way to either automatically do this or for me to more easily do it with a double-click when notice machines haven't put moved to the sub OU.

Thanks for any help or suggestions!

Link to comment
Share on other sites

HI,

maybe this helps out:

http://www.autoitscript.com/forum/index.ph...c=20852&hl=

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...