Skip to content

Test-PodeIsUnix

SYNOPSIS

Tests if the current OS is Unix.

SYNTAX

Test-PodeIsUnix [<CommonParameters>]

DESCRIPTION

Tests if the current OS is Unix.

EXAMPLES

EXAMPLE 1

if (Test-PodeIsUnix) { /* 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