Hello,
I’m finishing up my script that creates new users. Now the problem I’m running into is this:
We have several departments in HQ, for example Central Approvals Office, my script looks up a user that works in Central Approvals Office and finds that person. The problem is that, HR sometimes, enters CAO instead of Central Approvals Office, and when I run the script, it can’t find a user in CAO.
Without using a bunch of if statements, how would I let PowerShell know CAO is Central Approvals Office
Thank you,
Tony