How do I get AD users where any properties matches string?


I am looking for ‘ghost’ in AD users’ properties. I only know how to look up ‘ghost’ in a single property:

Get-ADUser -Filter 'description -like "ghost"' 

How do I look for ‘ghost’ in all AD properties of all AD users?

submitted by /u/nappetass
[link] [comments]

Leave a Reply