Tag: if

  • PowerShell: Find many users using their name

    Last week, I showed you how I looked up a single user in Active Directory, using the Get-ADUser cmdlet. I noted that I had an issue with finding some users due to spelling errors. This wasn’t a problem when I was doing them individually, but I soon found myself needing to do the same for more than a hundred users.

    (more…)