topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 18, 2024, 10:18 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Plugin Request: Active Directory users  (Read 3819 times)

GSz

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 30
    • View Profile
    • Read more about this member.
    • Donate to Member
Plugin Request: Active Directory users
« on: September 02, 2015, 05:21 PM »
I've been a devout user of DC software for 7 years now, and I think what mouser built here is one of the best communities on the net.
Thanks to everyone who participates here.

And now my request.
Does anyone know, (or knows how to build one), if there is a FARR plugin that will search trough AD users and groups?
I'm looking for something that will make searching for users and groups, with membership easy as pie, as FARR makes it for file content.

Hopefully someone here has the answer.
- Sincerely
    Lockszmith

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Plugin Request: Active Directory users
« Reply #1 on: October 03, 2015, 07:25 PM »
Sorry for the delayed reply.
There is no such plugin, however, FARR can do a pretty good job of executing a commandline tool and letting you search through the results.. is there a commandline tool somewhere that can output active directory users/groups?

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,643
    • View Profile
    • Donate to Member
Re: Plugin Request: Active Directory users
« Reply #2 on: October 03, 2015, 07:46 PM »
You can do it using Powershell since it can access pretty much anything to do with ADs, eg:

Searching Active Directory with Windows PowerShell
Get-ADUser
Essential PowerShell Cmdlets for Managing Active Directory - This has good examples of searching for a user

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Plugin Request: Active Directory users
« Reply #3 on: October 03, 2015, 08:02 PM »
excellent -- though note that you could use FARR to do the searching if powershell just prepared the list of all users/groups.

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,643
    • View Profile
    • Donate to Member
Re: Plugin Request: Active Directory users
« Reply #4 on: October 03, 2015, 08:51 PM »
You can have Powershell format the output any way you like, eg:

Code: PowerShell [Select]
  1. Get-ADUser -Filter * | Format-Table Name

will return a list of names for all AD users - in theory, I've got no way to test it.

Output will be:

Code: Text [Select]
  1. Name
  2. ----
  3. name 1
  4. name 2
  5. etc
  6. etc

Add the -HideTableHeaders parameter if you want to lose the headers, eg:

Code: PowerShell [Select]
  1. Get-ADUser -Filter * | Format-Table Name -HideTableHeaders

Get-ADGroup - cmdlet for listing/searching groups.

Full list of AD cmdlets: https://technet.micr...ibrary/ee617195.aspx
« Last Edit: October 03, 2015, 11:59 PM by 4wd »