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.
The Access type
Possible values: DenyCriteriaWhen, AllowCriteriaWhen
Whether the Security Principals criteria is enabled or not
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Whether the Gateways criteria is enabled or not
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Whether the Themes criteria is enabled or not
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Whether the Devices criteria is enabled or not
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Whether the OSs criteria is enabled or not
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Whether the IPs criteria is enabled or not
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Whether the HardwareIDs criteria is enabled or not
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
The name or server for which to modify the Criteria settings.
Site ID for which to modify the Criteria settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a server for which to modify the Criteria settings.
An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.
The Object Type for which to modify the Criteria settings.
Possible values: ClientPolicy, PubItem, MFA, LogonHours
Possible values: MFA
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.
() The Security Principals criteria matching mode type
() The Gateways criteria matching mode type
() The Themes criteria matching mode type
() The Devices criteria matching mode type
() The OSs criteria matching mode type
() The IPs criteria matching mode type
() The HardwareIDs criteria matching mode type
() The Default Object Type for which to modify the Criteria settings.