I have to make a script to add a computer to the list of computers that a user is allowed to logon on Active Directory. My situation is that if i have to change the name of the computer, i have to set the new name to all the users that were allowed to logon on the old computer name. So i have to search on each user's computer logon list if the old name is there, and then remove this old computer and add the new one. How can i make this using a PS script?
- Edited by MDeitos Thursday, June 18, 2015 5:22 PM