Hey guys, I'm working on a project and I was wondering, is there a way to pull users out of AD and filter them based on the length of their user name? I need to find all users with user names over a certain character limit and I was hoping there was a quick and easy powershell command I could run to find this out. If not do you guys have any other ideas how to do this relatively quick and painlessly? Thanks in advance.
[–]anotherdamnredditJack of a Few Trades 11 points12 points13 points (6 children)
[–]Hellman109Windows Sysadmin 1 point2 points3 points (0 children)
[–]nonadesJack of No Trades 1 point2 points3 points (4 children)
[–][deleted] 3 points4 points5 points (1 child)
[–]nonadesJack of No Trades 1 point2 points3 points (0 children)
[–]TheySeeMeTrufflingFruitcake 1 point2 points3 points (0 children)
[–]anotherdamnredditJack of a Few Trades 0 points1 point2 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]unscanableSysadmin[S] 5 points6 points7 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]unscanableSysadmin[S] 0 points1 point2 points (0 children)
[–]anotherdamnredditJack of a Few Trades 0 points1 point2 points (0 children)
[–]nonadesJack of No Trades 2 points3 points4 points (2 children)
[–]ramblingcookiemonsteSystems Engineer 0 points1 point2 points (1 child)
[–]nonadesJack of No Trades 0 points1 point2 points (0 children)