Script Download: 

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.

image image

You can find more All-In-One Script Framework script samples at