Set-RASCriteria
SYNOPSIS
Modifies the Criteria settings.
SYNTAX
Set-RASCriteria [-DefObjType] {MFA} [[-SiteId] <uint>]
[-Access {DenyCriteriaWhen | AllowCriteriaWhen}] [-DevicePostureEnabled <bool>]
[-DevicesEnabled <bool>] [-DevicesMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}]
[-GatewaysEnabled <bool>] [-GatewaysMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}]
[-HardwareIDsEnabled <bool>]
[-HardwareIDsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-IPsEnabled <bool>]
[-IPsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-OSsEnabled <bool>]
[-OSsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}]
[-SecurityPrincipalsEnabled <bool>]
[-SecurityPrincipalsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}]
[-ThemesEnabled <bool>] [-ThemesMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}]
[<CommonParameters>]Set-RASCriteria [-Id] <uint> -ObjType {ClientPolicy | PubItem | FileAccess | MFA | LogonHours}
[-Access {DenyCriteriaWhen | AllowCriteriaWhen}] [-DevicePostureEnabled <bool>]
[-DevicesEnabled <bool>] [-DevicesMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}]
[-GatewaysEnabled <bool>] [-GatewaysMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}]
[-HardwareIDsEnabled <bool>]
[-HardwareIDsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-IPsEnabled <bool>]
[-IPsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-OSsEnabled <bool>]
[-OSsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [-RuleId <uint>]
[-SecurityPrincipalsEnabled <bool>]
[-SecurityPrincipalsMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}]
[-ThemesEnabled <bool>] [-ThemesMatchingMode {IsNotOneOfTheFollowing | IsOneOfTheFollowing}]
[<CommonParameters>]DESCRIPTION
Modifies the Criteria settings of a ClientPolicy, MFA or PubItem.
EXAMPLES
Example 1
Disables the SecurityPrincipal criteria within the Criteria settings of the MFA with Id 1.
PARAMETERS
-Access
The Access type
Possible values: DenyCriteriaWhen, AllowCriteriaWhen
Type reference: AccessType
-SecurityPrincipalsEnabled
Whether the Security Principals criteria is enabled or not
-SecurityPrincipalsMatchingMode
The Security Principals criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Type reference: MatchingModeType
-GatewaysEnabled
Whether the Gateways criteria is enabled or not
-GatewaysMatchingMode
The Gateways criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Type reference: MatchingModeType
-ThemesEnabled
Whether the Themes criteria is enabled or not
-ThemesMatchingMode
The Themes criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Type reference: MatchingModeType
-DevicePostureEnabled
Whether the Device Posture criteria is enabled or not
-DevicesEnabled
Whether the Devices criteria is enabled or not
-DevicesMatchingMode
The Devices criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Type reference: MatchingModeType
-OSsEnabled
Whether the OSs criteria is enabled or not
-OSsMatchingMode
The OSs criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Type reference: MatchingModeType
-IPsEnabled
Whether the IPs criteria is enabled or not
-IPsMatchingMode
The IPs criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Type reference: MatchingModeType
-HardwareIDsEnabled
Whether the HardwareIDs criteria is enabled or not
-HardwareIDsMatchingMode
The HardwareIDs criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Type reference: MatchingModeType
-Name
The name or server for which to modify the Criteria settings.
-SiteId
Site ID for which to modify the Criteria settings.
If the parameter is omitted, the Licensing Server site ID will be used.
-Id
The ID of a server for which to modify the Criteria settings.
-InputObject
An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.
Type reference: RASListObj
-ObjType
The Object Type for which to modify the Criteria settings.
Possible values: ClientPolicy, PubItem, FileAccess, MFA, LogonHours
Type reference: CriteriaObjType
-DefObjType
The Default Object Type for which to modify the Criteria settings.
Possible values: MFA
Type reference: CriteriaDefObjType
-RuleId
The ID of the Rule to modify.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
None
RELATED LINKS
Last updated