Script Download: GetUserInOU.zip
http://gallery.technet.microsoft.com/scriptcenter/Get-Lync-Users-Active-fd116e64

This script will Check whether Lync Server Enabled or Disabled for all Users in a particular Organization Unit excluding its Child Organization Unit.

This script is to help Exchange Administrator to exclude the users in Child Organization Unit, and get the most correct information.

image image
image

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