What I'm trying to do is automate some of the basic stuff I do on termination of an employee.
- determine which computer(s) the user is logged into
- reset the user password to an 8 character random string
- dump the user name and new PW into an email to myself
- send shutdown -r -m //[computer name from item 1] -f
- move the user in AD to a container "Pending Deletion"
I'm pretty sure most of this is possible, but I suck @ PS and have no clue where to start with this.