[Feature Request]

Aug 14, 2015 at 3:59 PM
Hi,

i use the tool to stop some processes before i unmount a vhdx disk. The feature i'm missing is the option to close all processes running from a certain image location.

Here is my ps script that does something like this:
foreach ($file in Get-WmiObject Win32_Process) {
    if ($file -ne $null -and $file.Path -ne $null -and $file.Path.StartsWith("A:\")) {
        taskkill /PID $file.ProcessId | Out-Null
    }
}
Basically i have a vhdx mounted as volume A and need to close all open applications that are started from this volume, before the system goes to sleep.
So a option that accepts something like "A:*.*" as a location would be nice.