I am pleased to announce the release of the OZOFiles PowerShell module. This module provides file management functions:
Get-OZOChildWriteTime
returns the newest or oldest write time for all files within a given path.Get-OZODirectorySummary
returns anOZODirectorySummary
object.Get-OZOFileIsLocked
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-OZOFileToBase64
returns a Base-64 string representing a valid file, or “File not found” if the file does not exist or cannot be read.Set-OZOBase64ToFile
writes a base-64 string to disk as a file. Returns True on success and False on failure.Test-OZOPath
determines if a path exists and is readable. Optionally tests if the path is writable.
For installation and usage, please see README.md. You can find a link to this script and others in our Publication Catalog.