external help file | Module Name | online version | schema |
---|---|---|---|
automationtools-help.xml |
automationtools |
2.0.0 |
Returns the current users Administrator status
Test-Elevation [[-RoleOverride] <String>] [<CommonParameters>]
Returns a bool based on the current users association to Administrators role
Test-Elevation
An override for checking alternative roles
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: Administrator
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Used for checking if the current user has rights to access certain items