Re: Moving workstations/servers OU to OU

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



Hi
Check at Technet script center, they have many sample scripts that do
similar process, you just need to adapt them to your needs.

--

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

Jorge Silva
MCSE, MVP Directory Services
===================================

"kickballmvp2006" <kickballmvp2006.2z80zg@xxxxxxxxxxxxx> wrote in message
news:kickballmvp2006.2z80zg@xxxxxxxxxxxxxxxx

In AD, when you add a computer or server to the domain, it goes to the
Computers OU. I would like to set up a script (on the domain
controller) that would run every now and then (possibly every hour)
that would look to see if there is any new workstations in the
Computers OU and if there is, look at the first two letters of the
workstation. If it's equal to YH then, put it in the YH OU, if equal to
NN then put in the NN OU and so on.

Does anybody have something similar?


--
kickballmvp2006
------------------------------------------------------------------------
kickballmvp2006's Profile:
http://forums.techarena.in/member.php?userid=29383
View this thread: http://forums.techarena.in/showthread.php?t=842952

http://forums.techarena.in



.



Relevant Pages

  • Re: Finding users in local admin groups
    ... > Here is a vbscript that you can run against a remote computer that moves ... > *local* users except 'Administrator) from the Administrators group to the ... You should also add to the script logging to a file of the ... > you moved on what computers. ...
    (microsoft.public.win2000.security)
  • Re: Change local administrator password ? through GPO or push script ?
    ... I would like to change the local administrator password of every computers member of my AD domain but I am not sure of the best method. ... Create a vbs script that points to the local computer and then deploy this script by GPO. ... This attribute will permit to know wich admin password is configured for this machine. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Not so Newbie
    ... The script is designed for situations like yours. ... wit 35+ computers and to go to each of those computers to individualy ... Prompt for an executable to run on each remote computer in the group. ... so you know where the deployment failed. ...
    (microsoft.public.windows.server.scripting)
  • Re: VBscript that restart the domain comptuer
    ... If you have a shutdown script that cleans up the profiles, ... permissions can restart all computers in a list remotely. ... I have already VB script I ...
    (microsoft.public.windows.server.active_directory)
  • Re: Sending computer name to txt file if file didnt copy?
    ... look intot he MSI etc suggestion. ... 150 computers and dont have access to AD to do it that way. ... Const OverwriteExisting = True ... This modified version of your script will inform you if there ...
    (microsoft.public.scripting.vbscript)