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

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -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

Owners

Package Details

Author(s)

  • David Ramos

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

FileList

Version History

Version Downloads Last updated
0.9.0 (current version) 39,999 8/19/2021