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 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
Post a Comment