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.