Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Script to add machine to domain then put in correct OU

Posted on 2013-12-18
2
Medium Priority
?
233 Views
Last Modified: 2014-01-07
I need a script where I can just click it and it adds the machine I am on to the domain then move it to the correct OU in Active directory. We are using mixed Windows 7\XP and 2003\2008 server environment. Thanks.
0
Comment
Question by:Thomas N
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:Thomas N
ID: 39727685
If possible, I just want the script so I can add it to a text file. Rename it to .vbs or whatever the script is and run it.
0
 
LVL 10

Accepted Solution

by:
acbxyz earned 2000 total points
ID: 39727891
I haven't tested it, but this seems to be what you're looking for:
http://www.unidesk.com/support/kb/scripts-join-desktops-active-directory
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question