Tag Archives: joint a windows server to a specific OU in a Windows domain

PowerShell script – Join a server to a specific OU in Active Directory

A PowerShell script to add a server to a specific OU when joining a domain. If the script fails it will generate an error. The script will prompt for a username and password before it joins....

Posted in Microsoft, Scripting | Tagged | Leave a comment