Skip to content

Test-PodeIsMacOS

SYNOPSIS

Tests if the current OS is MacOS.

SYNTAX

Test-PodeIsMacOS [<CommonParameters>]

DESCRIPTION

Tests if the current OS is MacOS.

EXAMPLES

EXAMPLE 1

if (Test-PodeIsMacOS) { /* logic */ }

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Boolean

NOTES