Set-RASCriteria.md
NAME
Set-RASCriteria
SYNOPSIS
Modifies the Criteria settings.
SYNTAX
Set-RASCriteria [-DefObjType] {MFA} [[-SiteId] (uint)] [-Access {DenyCriteriaWhen | AllowCriteriaWhen}] [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 | MFA | LogonHours} [-Access {DenyCriteriaWhen | AllowCriteriaWhen}] [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)]
Set-RASCriteria [-InputObject] (RASListObj) [-Access {DenyCriteriaWhen | AllowCriteriaWhen}] [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)]
Set-RASCriteria [Name] (string) [[-SiteId] (uint)] -ObjType {ClientPolicy | PubItem | MFA | LogonHours} [-Access {DenyCriteriaWhen | AllowCriteriaWhen}] [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.
PARAMETERS
Access (AccessType)
The Access type
Possible values: DenyCriteriaWhen, AllowCriteriaWhen
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseSecurityPrincipalsEnabled (bool)
Whether the Security Principals criteria is enabled or not
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseSecurityPrincipalsMatchingMode
(MatchingModeType) The Security Principals criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseGatewaysEnabled (bool)
Whether the Gateways criteria is enabled or not
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseGatewaysMatchingMode
(MatchingModeType) The Gateways criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseThemesEnabled (bool)
Whether the Themes criteria is enabled or not
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseThemesMatchingMode
(MatchingModeType) The Themes criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseDevicesEnabled (bool)
Whether the Devices criteria is enabled or not
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseDevicesMatchingMode
(MatchingModeType) The Devices criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseOSsEnabled (bool)
Whether the OSs criteria is enabled or not
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseOSsMatchingMode
(MatchingModeType) The OSs criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseIPsEnabled (bool)
Whether the IPs criteria is enabled or not
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseIPsMatchingMode
(MatchingModeType) The IPs criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseHardwareIDsEnabled (bool)
Whether the HardwareIDs criteria is enabled or not
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseHardwareIDsMatchingMode
(MatchingModeType) The HardwareIDs criteria matching mode type
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? falseName (string)
The name or server for which to modify the Criteria settings.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? falseSiteId (uint)
Site ID for which to modify the Criteria settings.
If the parameter is omitted, the Licensing Server site ID will be used.
Required? false
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? falseId (uint)
The ID of a server for which to modify the Criteria settings.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? falseInputObject (RASListObj)
An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? falseObjType (CriteriaObjType)
The Object Type for which to modify the Criteria settings.
Possible values: ClientPolicy, PubItem, MFA, LogonHours
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? falseDefObjType
(CriteriaDefObjType) The Default Object Type for which to modify the Criteria settings.
Possible values: MFA
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? falseRuleId (uint)
The ID of the Rule to modify.
Required? false
Position? named
Default value 0
Accept pipeline input? false
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 documentation. 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.
RELATED LINKS
Last updated