Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Sort only user who begins with guichet

$
0
0

Hi

I would like a list of only the user who begins with the samaccountname guichet in my AD how can I do thst:

 

get-aduser -filter * | where {$_.SamAccountName = "guichet*"} | Select-Object -Property displayName, SamAccountName

 

Thanks for helping me

Nathalie


Viewing all articles
Browse latest Browse all 6937

Trending Articles