crp0499
asked on
I need a powershell script please....
Environ is Server 2012 R2 w/ DFL and FFL of 2008 R2. I have a list of 87 users and I need to reboot the last PC they logged into.
So, I need a powershell script that will:
show me the last computer a user logged into &
reboot said computer
Again, I have the list of users to feed it, but of course I need to know how to feed it.
:)
Any takers?
Otherwise I have to go to my logging folder, open 87 text files and copy and paste the computer name into the shutdown /i GUI
:)
So, I need a powershell script that will:
show me the last computer a user logged into &
reboot said computer
Again, I have the list of users to feed it, but of course I need to know how to feed it.
:)
Any takers?
Otherwise I have to go to my logging folder, open 87 text files and copy and paste the computer name into the shutdown /i GUI
:)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If interested I have a vbs I put together that collects the information you are looking for.
I built a exe that leverages the database, but not needed.
I would be happy to share this with you. Send me a private message and I will be happy to share my script.
I built a exe that leverages the database, but not needed.
I would be happy to share this with you. Send me a private message and I will be happy to share my script.
ASKER