Skip to content

Test-IsElevated

SYNOPSIS

Check if you are running an elevated shell with administrator or root privileges.

SYNTAX

__AllParameterSets

Test-IsElevated [<CommonParameters>]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

DESCRIPTION

Check if you are running an elevated shell with administrator or root privileges.

EXAMPLES

EXAMPLE 1

Test-IsElevated

PARAMETERS

CommonParameters

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

INPUTS

OUTPUTS

Boolean

{{ Fill in the Description }}

System.Boolean

{{ Fill in the Description }}

NOTES

{{ Fill in the related links here }}