Apologies, I am under the gun. I am trying to figure out a quick script to disable/delete a users domain account on a local machine remotely. I can get access to the machine, but need help with a script to do this. Changing the password with a machine that is not connected to our network may be difficult. One thought was to delete their profile. Any thoughts would be appreciated. I only have about 15 mins to find a solution. I’ve been given very short notice, otherwise I would have been able to do more research.
Researched many other posts here.
newbie101 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.