Geeks With Blogs

News Please visit me at my new blog!!

profile for Aligned at Stack Overflow, Q&A for professional and enthusiast programmers
"free in Christ Jesus from the law of sin and death." Romans 8:2 (ESV) Check out the Falling Plates video on YouTube.
more about the Gospel
And then listen to Francis Chan speaking at LifeLight in SD.



Programming and Learning from SD

You can use the TaskManager and right click processes or you can use taskkill /im myprocess.exe /f in the command line or you can use LinqPad.

Open LinqPad, change to C# Statements, paste

var processes = Process.GetProcessesByName("FusionServiceHost").ToList().Dump();
processes.ForEach(p => p.Kill());

and click run. It will kill all msbuild.exe processes. Change the name as you need to.

Process is in the System.Diagnostic.Process namespace.

Posted on Wednesday, May 7, 2014 4:09 PM Productivity | Back to top


Comments on this post: Use LinqPad to Kill Windows Processes

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Aligned | Powered by: GeeksWithBlogs.net