How do I search ADccounts by using name in powershell?
How do I search ADccounts by using name in powershell?
April 20th, 2015 8:15am

I'm not sure what you mean? There are a few 'Names' you could search by. Get-AdUser would work. or if you want to find anyone with last name smith --

Get-AdUser *Smith

Does answer your question?

Free Windows Admin Tool Kit Click here and download it now
April 20th, 2015 8:27am

Something like this may help you:

$name = 'Tester, One'

Get-ADUser -Filter "Name -eq '$name'"

April 20th, 2015 10:14am

I'm not sure what you mean? There are a few 'Names' you could search by. Get-AdUser would work. or if you want to find anyone with last name smith --

Get-AdUser *Smith

Does answer your question?

  • Proposed as answer by Mike Laughlin Monday, April 20, 2015 2:12 PM
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2015 12:25pm

I'm not sure what you mean? There are a few 'Names' you could search by. Get-AdUser would work. or if you want to find anyone with last name smith --

Get-AdUser *Smith

Does answer your question?

April 20th, 2015 12:25pm

I'm not sure what you mean? There are a few 'Names' you could search by. Get-AdUser would work. or if you want to find anyone with last name smith --

Get-AdUser *Smith

Does answer your question?

Free Windows Admin Tool Kit Click here and download it now
April 20th, 2015 12:25pm

Simple command ... Did not strike !!! :)

April 25th, 2015 5:40am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics