Script Download: VBSFindOU.zip http://gallery.technet.microsoft.com/scriptcenter/How-to-verify-if-an-OU-b0317c33
This VBScript illustrates how to check or verify if an Active Directory (AD) Organizational Unit (OU) exists.
If we bind to a particular OU that does not exist using VBScript, the script terminates with object not found exception. Using this sample script we can verify the existence of required OU before we perform some operation on respective OU.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery