Set-RASCriteria

NAME

Set-RASCriteria

SYNOPSIS

Modifies the Criteria settings.

SYNTAX

Set-RASCriteria [-DefObjTypearrow-up-right] {MFAarrow-up-right} [[-SiteIdarrow-up-right] <uint>] [-Accessarrow-up-right {DenyCriteriaWhen | AllowCriteriaWhen}] [-DevicesEnabledarrow-up-right <bool>] [-DevicesMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-GatewaysEnabledarrow-up-right <bool>] [-GatewaysMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-HardwareIDsEnabledarrow-up-right <bool>] [-HardwareIDsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-IPsEnabledarrow-up-right <bool>] [-IPsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-OSsEnabledarrow-up-right <bool>] [-OSsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-SecurityPrincipalsEnabledarrow-up-right <bool>] [-SecurityPrincipalsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-ThemesEnabledarrow-up-right <bool>] [-ThemesMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [<CommonParametersarrow-up-right>] Set-RASCriteria [-Idarrow-up-right] <uint> -ObjTypearrow-up-right {ClientPolicy | PubItem | MFA | LogonHours} [-Accessarrow-up-right {DenyCriteriaWhen | AllowCriteriaWhen}] [-DevicesEnabledarrow-up-right <bool>] [-DevicesMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-GatewaysEnabledarrow-up-right <bool>] [-GatewaysMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-HardwareIDsEnabledarrow-up-right <bool>] [-HardwareIDsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-IPsEnabledarrow-up-right <bool>] [-IPsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-OSsEnabledarrow-up-right <bool>] [-OSsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-RuleIdarrow-up-right <uint>] [-SecurityPrincipalsEnabledarrow-up-right <bool>] [-SecurityPrincipalsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-ThemesEnabledarrow-up-right <bool>] [-ThemesMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [<CommonParametersarrow-up-right>] Set-RASCriteria [-InputObjectarrow-up-right] <RASListObjarrow-up-right> [-Accessarrow-up-right {DenyCriteriaWhen | AllowCriteriaWhen}] [-DevicesEnabledarrow-up-right <bool>] [-DevicesMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-GatewaysEnabledarrow-up-right <bool>] [-GatewaysMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-HardwareIDsEnabledarrow-up-right <bool>] [-HardwareIDsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-IPsEnabledarrow-up-right <bool>] [-IPsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-OSsEnabledarrow-up-right <bool>] [-OSsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-RuleIdarrow-up-right <uint>] [-SecurityPrincipalsEnabledarrow-up-right <bool>] [-SecurityPrincipalsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-ThemesEnabledarrow-up-right <bool>] [-ThemesMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [<CommonParametersarrow-up-right>] Set-RASCriteria [-Namearrow-up-right] <string> [[-SiteIdarrow-up-right] <uint>] -ObjTypearrow-up-right {ClientPolicy | PubItem | MFA | LogonHours} [-Accessarrow-up-right {DenyCriteriaWhen | AllowCriteriaWhen}] [-DevicesEnabledarrow-up-right <bool>] [-DevicesMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-GatewaysEnabledarrow-up-right <bool>] [-GatewaysMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-HardwareIDsEnabledarrow-up-right <bool>] [-HardwareIDsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-IPsEnabledarrow-up-right <bool>] [-IPsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-OSsEnabledarrow-up-right <bool>] [-OSsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-RuleIdarrow-up-right <uint>] [-SecurityPrincipalsEnabledarrow-up-right <bool>] [-SecurityPrincipalsMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-ThemesEnabledarrow-up-right <bool>] [-ThemesMatchingModearrow-up-right {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [<CommonParametersarrow-up-right>]

DESCRIPTION

Modifies the Criteria settings of a ClientPolicy, MFA or PubItem.

PARAMETERS

-Access <AccessTypearrow-up-right> The Access type Possible values: DenyCriteriaWhen, AllowCriteriaWhen

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SecurityPrincipalsEnabled <bool> Whether the Security Principals criteria is enabled or not

-SecurityPrincipalsMatchingMode <MatchingModeTypearrow-up-right> The Security Principals criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

-GatewaysEnabled <bool> Whether the Gateways criteria is enabled or not

-GatewaysMatchingMode <MatchingModeTypearrow-up-right> The Gateways criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

-ThemesEnabled <bool> Whether the Themes criteria is enabled or not

-ThemesMatchingMode <MatchingModeTypearrow-up-right> The Themes criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

-DevicesEnabled <bool> Whether the Devices criteria is enabled or not

-DevicesMatchingMode <MatchingModeTypearrow-up-right> The Devices criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

-OSsEnabled <bool> Whether the OSs criteria is enabled or not

-OSsMatchingMode <MatchingModeTypearrow-up-right> The OSs criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

-IPsEnabled <bool> Whether the IPs criteria is enabled or not

-IPsMatchingMode <MatchingModeTypearrow-up-right> The IPs criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

-HardwareIDsEnabled <bool> Whether the HardwareIDs criteria is enabled or not

-HardwareIDsMatchingMode <MatchingModeTypearrow-up-right> The HardwareIDs criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing

-Name <string> The name or server for which to modify the Criteria settings.

-SiteId <uint> Site ID for which to modify the Criteria settings. If the parameter is omitted, the Licensing Server site ID will be used.

-Id <uint> The ID of a server for which to modify the Criteria settings.

-InputObject <RASListObjarrow-up-right> An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.

-ObjType <CriteriaObjTypearrow-up-right> The Object Type for which to modify the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours

-DefObjType <CriteriaDefObjTypearrow-up-right> The Default Object Type for which to modify the Criteria settings. Possible values: MFA

-RuleId <uint> The ID of the Rule to modify.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Set-RASCriteria -Id 1 -ObjType MFA -SecurityPrincipalsEnabled $false Disables the SecurityPrincipal criteria within the Criteria settings of the MFA with Id 1.

Last updated