Using in PowerShell, how can I check if an application is locking a file?
I like to check which process/application is using the file, so that I can close it.
filelockpowershellscripting
Using in PowerShell, how can I check if an application is locking a file?
I like to check which process/application is using the file, so that I can close it.
Best Answer
You can do this with the SysInternals tool handle.exe. Try something like this: