LockingProcessKiller

0.9.0

Utility to discover & kill processes that have open handles to a file or folder

Minimum PowerShell version

5.1.14

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name LockingProcessKiller

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

David Ramos

Owners

Tags

find lock locking file directory handle kill process

Functions

Find-LockingProcess Stop-LockingProcess

Dependencies

This module has no dependencies.

Release Notes

## Utility to discover & kill processes that have open handles to a file or folder.

### Find-LockingProcess()  
   Retrieves process information that has a file handle open to the specified path.
   Example: Find-LockingProcess -Path $Env:LOCALAPPDATA
   Example: Find-LockingProcess -Path $Env:LOCALAPPDATA | Get-Process

### Stop-LockingProcess()  
   Kills all processes that have a file handle open to the specified path.
   Example: Stop-LockingProcess -Path $Home\Documents

Version History

Version Downloads Last updated
0.9.0 (current version) 2,098 8/19/2021