< Back
Test-OMPIsElevated
Post
NAME Test-OMPIsElevated
SYNOPSIS
Platform independant validation if the current user is elevated as root or administrator.
SYNTAX
Test-OMPIsElevated [<CommonParameters>]
DESCRIPTION
Platform independant validation if the current user is elevated as root or administrator.
PARAMETERS
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author: Zachary Loeber
-------------------------- EXAMPLE 1 --------------------------
Test-OMPIsElevated
RELATED LINKS
https://github.com/zloeber/OhMyPsh https://github.com/zloeber/OhMyPsh
SYNOPSIS
Platform independant validation if the current user is elevated as root or administrator.
SYNTAX
Test-OMPIsElevated [<CommonParameters>]
DESCRIPTION
Platform independant validation if the current user is elevated as root or administrator.
PARAMETERS
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author: Zachary Loeber
-------------------------- EXAMPLE 1 --------------------------
Test-OMPIsElevated
RELATED LINKS
https://github.com/zloeber/OhMyPsh https://github.com/zloeber/OhMyPsh