This function is part of the OZOFiles PowerShell Module.
Returns True if the Path is locked or False if the path is not locked, does not exist, is not accessible, or is a directory.
Get-OZOFileIsLocked
-Path <String>
| Parameter | Description |
|---|---|
Path |
The path of the file to inspect. |
Get-OZOFileIsLocked -Path "C:\Temp\test.txt"
FalseSystem.Boolean