Preventing Duplicate Results in Get-ADUser results


here have @ moment:

 get-aduser -filter * -searchbase "ou=ou,dc=domain,dc=com" -properties title | sort-object title | ft title

looking results of not show duplicates shows 1 of each title. possible?

 get-aduser -filter * -searchbase "ou=ou,dc=domain,dc=com" -properties title | sort-object -unique title | ft title  


grant ward, a.k.a. bigteddy



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

CRL Revocation always failed

Failed to query the results of bpa xpath

0x300000d errors in Microsoft Remote Desktop client