> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/v19/parallels-ras-powershell-admin-module/commands/set-rascriteria.md).

# Set-RASCriteria

### NAME

Set-RASCriteria\ <br>

### SYNOPSIS

Modifies the Criteria settings.\ <br>

### SYNTAX

Set-RASCriteria \[-[DefObjType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#DefObjType)] {[MFA](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/MFA.html)} \[\[-[SiteId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#SiteId)] *\<uint>*] \[-[Access](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#Access) {DenyCriteriaWhen | AllowCriteriaWhen}] \[-[DevicesEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#DevicesEnabled) *\<bool>*] \[-[DevicesMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#DevicesMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[GatewaysEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#GatewaysEnabled) *\<bool>*] \[-[GatewaysMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#GatewaysMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[HardwareIDsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#HardwareIDsEnabled) *\<bool>*] \[-[HardwareIDsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#HardwareIDsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[IPsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#IPsEnabled) *\<bool>*] \[-[IPsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#IPsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[OSsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#OSsEnabled) *\<bool>*] \[-[OSsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#OSsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[SecurityPrincipalsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#SecurityPrincipalsEnabled) *\<bool>*] \[-[SecurityPrincipalsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#SecurityPrincipalsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[ThemesEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#ThemesEnabled) *\<bool>*] \[-[ThemesMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#ThemesMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#CommonParameters)*>*]\
\
Set-RASCriteria \[-[Id](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#Id)] *\<uint>* -[ObjType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#ObjType) {ClientPolicy | PubItem | MFA | LogonHours} \[-[Access](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#Access) {DenyCriteriaWhen | AllowCriteriaWhen}] \[-[DevicesEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#DevicesEnabled) *\<bool>*] \[-[DevicesMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#DevicesMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[GatewaysEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#GatewaysEnabled) *\<bool>*] \[-[GatewaysMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#GatewaysMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[HardwareIDsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#HardwareIDsEnabled) *\<bool>*] \[-[HardwareIDsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#HardwareIDsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[IPsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#IPsEnabled) *\<bool>*] \[-[IPsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#IPsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[OSsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#OSsEnabled) *\<bool>*] \[-[OSsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#OSsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[RuleId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#RuleId) *\<uint>*] \[-[SecurityPrincipalsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#SecurityPrincipalsEnabled) *\<bool>*] \[-[SecurityPrincipalsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#SecurityPrincipalsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[ThemesEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#ThemesEnabled) *\<bool>*] \[-[ThemesMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#ThemesMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#CommonParameters)*>*]\
\
Set-RASCriteria \[-[InputObject](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#InputObject)] *<*[*RASListObj*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html)*>* \[-[Access](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#Access) {DenyCriteriaWhen | AllowCriteriaWhen}] \[-[DevicesEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#DevicesEnabled) *\<bool>*] \[-[DevicesMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#DevicesMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[GatewaysEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#GatewaysEnabled) *\<bool>*] \[-[GatewaysMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#GatewaysMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[HardwareIDsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#HardwareIDsEnabled) *\<bool>*] \[-[HardwareIDsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#HardwareIDsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[IPsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#IPsEnabled) *\<bool>*] \[-[IPsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#IPsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[OSsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#OSsEnabled) *\<bool>*] \[-[OSsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#OSsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[RuleId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#RuleId) *\<uint>*] \[-[SecurityPrincipalsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#SecurityPrincipalsEnabled) *\<bool>*] \[-[SecurityPrincipalsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#SecurityPrincipalsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[ThemesEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#ThemesEnabled) *\<bool>*] \[-[ThemesMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#ThemesMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#CommonParameters)*>*]\
\
Set-RASCriteria \[-[Name](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#Name)] *\<string>* \[\[-[SiteId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#SiteId)] *\<uint>*] -[ObjType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#ObjType) {ClientPolicy | PubItem | MFA | LogonHours} \[-[Access](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#Access) {DenyCriteriaWhen | AllowCriteriaWhen}] \[-[DevicesEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#DevicesEnabled) *\<bool>*] \[-[DevicesMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#DevicesMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[GatewaysEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#GatewaysEnabled) *\<bool>*] \[-[GatewaysMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#GatewaysMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[HardwareIDsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#HardwareIDsEnabled) *\<bool>*] \[-[HardwareIDsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#HardwareIDsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[IPsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#IPsEnabled) *\<bool>*] \[-[IPsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#IPsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[OSsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#OSsEnabled) *\<bool>*] \[-[OSsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#OSsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[RuleId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#RuleId) *\<uint>*] \[-[SecurityPrincipalsEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#SecurityPrincipalsEnabled) *\<bool>*] \[-[SecurityPrincipalsMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#SecurityPrincipalsMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[-[ThemesEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#ThemesEnabled) *\<bool>*] \[-[ThemesMatchingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#ThemesMatchingMode) {IsNotOneOfTheFollowing | IsOneOfTheFollowing}] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASCriteria.html#CommonParameters)*>*]\ <br>

### DESCRIPTION

Modifies the Criteria settings of a ClientPolicy, MFA or PubItem.\ <br>

### PARAMETERS

\
-**Access <**[**AccessType**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/AccessType.html)**>**\
The Access type\
\
Possible values: DenyCriteriaWhen, AllowCriteriaWhen\ <br>

```
        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\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**SecurityPrincipalsMatchingMode <**[**MatchingModeType**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/MatchingModeType.html)**>**\
The Security Principals criteria matching mode type\
\
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**GatewaysMatchingMode <**[**MatchingModeType**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/MatchingModeType.html)**>**\
The Gateways criteria matching mode type\
\
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**ThemesMatchingMode <**[**MatchingModeType**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/MatchingModeType.html)**>**\
The Themes criteria matching mode type\
\
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**DevicesMatchingMode <**[**MatchingModeType**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/MatchingModeType.html)**>**\
The Devices criteria matching mode type\
\
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**OSsMatchingMode <**[**MatchingModeType**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/MatchingModeType.html)**>**\
The OSs criteria matching mode type\
\
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**IPsMatchingMode <**[**MatchingModeType**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/MatchingModeType.html)**>**\
The IPs criteria matching mode type\
\
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**HardwareIDsMatchingMode <**[**MatchingModeType**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/MatchingModeType.html)**>**\
The HardwareIDs criteria matching mode type\
\
Possible values: IsNotOneOfTheFollowing, IsOneOfTheFollowing\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        Required?                    false
```

```
        Position?                    1
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InputObject <**[**RASListObj**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html)**>**\
An object of type ClientPolicy, PubItem or MFA for which to modify the Criteria settings.\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**ObjType <**[**CriteriaObjType**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/CriteriaObjType.html)**>**\
The Object Type for which to modify the Criteria settings.\
\
Possible values: ClientPolicy, PubItem, MFA, LogonHours\ <br>

```
        Required?                    true
```

```
        Position?                    named
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**DefObjType <**[**CriteriaDefObjType**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/CriteriaDefObjType.html)**>**\
The Default Object Type for which to modify the Criteria settings.\
\
Possible values: MFA\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        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 . 
```

<br>

### INPUTS

-none-

### OUTPUTS

-none-

### EXAMPLES

\
\&#xNAN;**---------- EXAMPLE 1 ----------**\
\
Set-RASCriteria -Id 1 -ObjType MFA -SecurityPrincipalsEnabled $false\
\
Disables the SecurityPrincipal criteria within the Criteria settings of the MFA with Id 1.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/v19/parallels-ras-powershell-admin-module/commands/set-rascriteria.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
