Link to home
Start Free TrialLog in
Avatar of patriots
patriots

asked on

Get pager number from Active Directory based on fax list

I have a raw list of fax numbers in a text file.  These fax numbers are all assigned to Active Directory users.  I'd like to use this list of fax numbers to build an AD query that will glean the following info....for each fax number, i need to know the matching SAMAccount name, display name, and most importantly, the pager field value.

I'm fairly new to powershell scripting, but this seems like something that should be easy to accomplish.  I have the Quest Active Roles management shell installed.  I was thinking I could run a get-qaduser command and combine it with for-each or perhaps use an ldap filter, however, I'm still a bit fuzzy on how the syntax would work out.  Please forgive my inexperience with this.
ASKER CERTIFIED SOLUTION
Avatar of Krzysztof Pytko
Krzysztof Pytko
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial