Windows

check filelock

Description:

PowerShell script used to determine if a file is open and locked.

Current Version

1.0

Last Release Date

2017-04-13

Compatible With

  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Project Files
Project Photos
Project Notes
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]
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
6,161