Script for moving computers to a specific OU in active directory.
I need some help with a script I found here:
Q and A - TechNet VB Script to move computers to specific OU
I want to be able to move a rooms computers to a specific OU for controlled assessments, then use a similar script to move them back again.
The script I have works only if used on the same domain as the PC's in question, trouble is, the script will need to be run from a teacher PC (staff domain) and move PC's on the pupil domain.
Is it possible to specify a domain to look for in the script? I am a complete novice at scripting!