As per our requirement we need to Pull the legacyexchangeDN & showinaddressbook attribute of all contacts in a OU.
In the contacts OU i have 10k contacts. I need to pull the report of all users
firstname lastname legacyExchangeDn showInAddressBook
Can anyone share me powershell command for the same.