< Back

New-PowerAppsCheckerRuleLevelOverride

Sat Jan 18, 2020 3:52 pm

NAME New-PowerAppsCheckerRuleLevelOverride



SYNOPSIS

This topic is pre-release documentation and is subject to change.



Constructs a new rule level override object that can be used to pass to the RuleLevelOverrides parameter of

Invoke-PowerAppsChecker.





SYNTAX

New-PowerAppsCheckerRuleLevelOverride -Id <String> -OverrideLevel {Critical | High | Medium | Low | Informational}

[<CommonParameters>]





DESCRIPTION

Using this cmdlet, along with the `RuleLevelOverrides` property of `Invoke-PowerAppsChecker`, you can tell the

service to treat violations of a rule as a higher or lower severity level. There are no interactions with the

service performed by invoking this cmdlet.





PARAMETERS

-Id <String>

ID of the rule, such as -web-avoid-crm2011-service-odata. The ID can be obtained from the list of rules

returned by running the Get-PowerAppsCheckerRules cmdlet.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-OverrideLevel <RuleLevel>

Level in which to override the default severity level value. This is the level in which you would like to have

set in the returning report(s).



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<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

System.String





Microsoft.PowerApps.Checker.PowerShell.RuleLevel







OUTPUTS

Microsoft.PowerApps.Checker.Client.Models.Rule







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> $override = New-PowerAppsCheckerRuleLevelOverride -Id "meta-avoid-silverlight" -OverrideLevel High



The meta-avoid-silverlight value for the Id parameter is currently set to Medium. Using this cmdlet, along with

the `RuleLevelOverrides` property of `Invoke-PowerAppsChecker`, you can tell the service to treat violations of

this rule as a severity level of high.



RELATED LINKS

Online Version: https://go.microsoft.com/fwlink/?linkid=2094408

Invoke-PowerAppsChecker

Get-PowerAppsCheckerRules