Hi,
Not sure were to start with this. I'm hoping you can point me in the right direction.
Scenario:
I have a list of users in a text file that I want to disable and then later delete. I only have the sAMaccount names.
The format of the text file is:
username1
username2
username3
How do I do this, most of the scripts I've found on the Internet point to using the distinguished name.
Thanks.
Not sure were to start with this. I'm hoping you can point me in the right direction.
Scenario:
I have a list of users in a text file that I want to disable and then later delete. I only have the sAMaccount names.
The format of the text file is:
username1
username2
username3
How do I do this, most of the scripts I've found on the Internet point to using the distinguished name.
Thanks.