Set-RASCriteria
Last updated
Last updated
Set-RASCriteria
Modifies the Criteria settings.
Set-RASCriteria [-] {} [[-] <uint>] [- {DenyCriteriaWhen | AllowCriteriaWhen}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [<>] Set-RASCriteria [-] <uint> - {ClientPolicy | PubItem | MFA | LogonHours} [- {DenyCriteriaWhen | AllowCriteriaWhen}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <uint>] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [<>] Set-RASCriteria [-] <> [- {DenyCriteriaWhen | AllowCriteriaWhen}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <uint>] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [<>] Set-RASCriteria [-] <string> [[-] <uint>] - {ClientPolicy | PubItem | MFA | LogonHours} [- {DenyCriteriaWhen | AllowCriteriaWhen}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <uint>] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [- <bool>] [- {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] [<>]
Modifies the Criteria settings of a ClientPolicy, MFA or PubItem.
-Access <> The Access type Possible values: DenyCriteriaWhen, AllowCriteriaWhen
-SecurityPrincipalsEnabled <bool> Whether the Security Principals criteria is enabled or not
-GatewaysEnabled <bool> Whether the Gateways criteria is enabled or not
-ThemesEnabled <bool> Whether the Themes criteria is enabled or not
-DevicesEnabled <bool> Whether the Devices criteria is enabled or not
-OSsEnabled <bool> Whether the OSs criteria is enabled or not
-IPsEnabled <bool> Whether the IPs criteria is enabled or not
-HardwareIDsEnabled <bool> Whether the HardwareIDs criteria is enabled or not
-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.
-RuleId <uint> The ID of the Rule to modify.
<CommonParameters>
-none-
-none-
---------- EXAMPLE 1 ---------- Set-RASCriteria -Id 1 -ObjType MFA -SecurityPrincipalsEnabled $false Disables the SecurityPrincipal criteria within the Criteria settings of the MFA with Id 1.
-SecurityPrincipalsMatchingMode <> The Security Principals criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
-GatewaysMatchingMode <> The Gateways criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
-ThemesMatchingMode <> The Themes criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
-DevicesMatchingMode <> The Devices criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
-OSsMatchingMode <> The OSs criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
-IPsMatchingMode <> The IPs criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
-HardwareIDsMatchingMode <> The HardwareIDs criteria matching mode type Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
-InputObject <> An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.
-ObjType <> The Object Type for which to modify the Criteria settings. Possible values: ClientPolicy, PubItem, MFA, LogonHours
-DefObjType <> The Default Object Type for which to modify the Criteria settings. Possible values: MFA