News
Figure 1. I'd like the event source to be the name of the script that's running. To register this as a source, I'll need to use New-EventLog. Since I'm going to be logging to the Application event log ...
With my function found below called Test-IsFileLocked, I make use of a Try/Catch to handle the errors, which first checks to make sure I'm not denied access to the file. If that isn't the case, then ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results