Updates
recent

How to close a Process run by a specific User using PowerShell

Hi Geeks, Today we are going to learn how to close or kill a process run by a specific user.

Lets take an example, there are 2 different users : Admin and TestUser , Now Admin and TestUser both are logged into the same machine and performing some important task in Internet Explorer.

If Admin does this : Get-Process -Name “iexplorer”

It will get all the list of Internet Explorer process run by both Admin as well as TestUser.



Now Admin wants to Kill or Stop the Processes which are being executed by him only. So in order to perform this task you can to use the GETOWNER Method.


Full Script :



Hope you all enjoyed the post, Do Like , Share and comment if you have any query related to this.
Copyright © 2016 Amar Helloween. Powered by Blogger.