Hi EE .. anyone able to help with this?
I have a situation where i need to check a list of SamAccountNames and check if a corresponding "x" account exist in AD.
So on the list I want to enter a list of SamAccountnames
and I need the script to check if an account exist with those samAccountNames but that end with an "x"
Then have the "x" accounts found exported to a csv file.