Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 514 Bytes

File metadata and controls

25 lines (20 loc) · 514 Bytes

Get-OZOFileIsLocked

This function is part of the OZOFiles PowerShell Module.

Description

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.

Syntax

Get-OZOFileIsLocked
    -Path <String>

Parameters

Parameter Description
Path The path of the file to inspect.

Examples

Get-OZOFileIsLocked -Path "C:\Temp\test.txt"
False

Outputs

System.Boolean