I am pleased to announce the release of the OZO PowerShell module. This module provides string manipulation functions.
Get-OZO64BitPowerShell
returns True if the PowerShell environment is 64-bit and False if not.Get-OZO8601Date
returns a formatted ISO 8601 date string.Get-OZOHostname
returns the hostname for a given fully qualified domain name (“FQDN”).Get-OZONumberIsOdd
evaluates an integer and returns True if the number is odd or False if the number is even.Get-OZOUserInteractive
returns True if the session is user-interactive and otherwise False.New-OZOSecurePassword
returns a secure password.Send-OZOMail
sends an email message using an anonymous, unencrypted SMTP relay. Returns True on success and False on failure.Test-OZOLocalAdministrator
returns True if the current user is a local administrator and False if not.
For installation and usage, please see README.md. You can find a link to this script and others in our Publication Catalog.