Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 434
  • Last Modified:

Need a way to pull fax information from users in AD

I'm looking for a way to pull the First and Last name or account name along with fax number from a users AD account and place it into a file. Or have it displayed so I can take it and move it into a file. I am on a 2008 AD structure.
0
ron_harris
Asked:
ron_harris
  • 2
2 Solutions
 
athomsfereCommented:
I assume you have fax numbers in active directory?

I would recommend Powershell and Quest Active directory tools, then you could use something like:

Get-QADUser | Format-Table Lastname, FirstName, Fax > 'C:\FaxNumbers.txt'

Open in new window


That will get every user in the domain.
0
 
ron_harrisAuthor Commented:
Yes - Is there anyway to do this, say, for an entire OU at a time?
0
 
athomsfereCommented:
Yes, just adjust the first part to:
Get-QADUser -LDAPFilter "OuPath"

Open in new window

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now