Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

[Script Of Mar. 16] How to know the process locking a file

$
0
0
image
Mar.
16
image
image

Script Download:  
The script is available for download from https://code.msdn.microsoft.com/How-to-know-the-process-704839f4. You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

The C# sample code developed in .NET Framework 4.0 would help in finding out which is the process that is having a lock on a file.

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery


Viewing all articles
Browse latest Browse all 36188

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>