Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
PowerShell script used to determine if a file is open and locked.
Current Version
1.0
Last Release Date
2017-04-13
Owner
Craig Dienger
Compatible With
This PowerShell script can be used to determine if a file is open and locked. It returns service state 0(OK) if the file isn't opened, a 1(WARNING) if it is opened but not locked, and a 2(CRITICAL) if it is opened and locked. It will also return the username of the person who currently has it opened if the state is WARNING or CRITICAL.
Usage:
.check_filelock.ps1 [filename]
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!