Skip to content

Test-PodeIsWindows

SYNOPSIS

Tests if the current OS is Windows.

SYNTAX

Test-PodeIsWindows [<CommonParameters>]

DESCRIPTION

Tests if the current OS is Windows.

EXAMPLES

EXAMPLE 1

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