Hey, everyone. I'm trying to do a simple active directory search to create a list of all the "users" in the domain . The issue is that I'm stuck with Powershell 1.0 and I'm not able to install any modules (so things like Get-ADUser are a no-go for me). I'm a little new at all of this – I'm sort of teaching myself. I've tried a few different methods with little luck. Anyone out there that can give me some ideas to start off with? I've tried:
#Result – Now, this appears to provide me a list sorted alphabetically. However, when I checked the accuracy of the list, it was missing "users". Anyone have any ideas that may help? Thanks in advance to anyone willing to help me out!
Thank you, I hadn't considered that. I went ahead and did as you suggested, but I'm still missing users. What's rather strange is that the script appears to retrieve a particular user from an OU, but then fails to do the same for another user in the same OU. They are identical accounts (aside from the obvious). Perhaps "(objectClass=user)" is an inefficient filter? Any suggestions?