AhmedAliShaik
asked on
Pull the legacyexchangeDN & showinaddressbook attribute of all contacts in a OU.
As per our requirement we need to Pull the legacyexchangeDN & showinaddressbook attribute of all contacts in a OU.
Abd.com->test->contacts
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.
Abd.com->test->contacts
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
$ReportObj is an object created to hold all the values required for each contact. This gets reused for each contact so the $Report array is created to compile all the $ReportObj.
JJ
JJ
ASKER
Both the scripts are working perfect.
Thank you Guys.
Thank you Guys.
ASKER
Thank you Dear
May I know what is meaning for: