Script Download: ComputerBelongsTo(PowerShell).zip
http://gallery.technet.microsoft.com/scriptcenter/Script-to-determine-the-OU-5a22a0e0

This PowerShell script shows how to determine the OU the local computer belongs to.

Some of IT admins want to verify that is has been deployed to the correct OU. So this script can help do that.

image image
image

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery