# Remove-RASCriteriaTheme.md

## NAME

Remove-RASCriteriaTheme

## SYNOPSIS

Removes a Theme from the Criteria Theme List.

## SYNTAX

\*\*Remove-RASCriteriaTheme \[-[DefObjType](#defobjtype)] {[MFA](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/mfa)} \[\[-[SiteId](#siteid-string)] *(uint)*] -[ThemeId](#themeid-string) *(uint)* \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Remove-RASCriteriaTheme** \[[Id](#id-string)] *(uint)* -[ObjType](#objtype) {ClientPolicy | PubItem | MFA | LogonHours} -[ThemeId](#themeid-string) *(uint)* \[[RuleId](#ruleid-string) *(uint)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

\*\*Remove-RASCriteriaTheme \[-[InputObject](#inputobject)] *(*[*RASListObj*](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/raslistobj)*)* -[ThemeId](#themeid-string) *(uint)* \[[RuleId](#ruleid-string) *(uint)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

\*\*Remove-RASCriteriaTheme \[[Name](#name-string)] *(string)* \[\[-[SiteId](#siteid-string)] *(uint)*] -[ObjType](#objtype) {ClientPolicy | PubItem | MFA | LogonHours} -[ThemeId](#themeid-string) *(uint)* \[[RuleId](#ruleid-string) *(uint)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

Removes a Theme from the Criteria Theme List within the Criteria settings of a ClientPolicy, MFA or PubItem.

## PARAMETERS

## ThemeId (uint)

The ID of the theme to remove from the Criteria.

```
        Required?                    true

        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.

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

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

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## InputObject ([RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/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?  false
```

## ObjType ([CriteriaObjType](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/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?  false
```

## DefObjType

([CriteriaDefObjType](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/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?  false
```

## RuleId (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 ----------

Remove-RASCriteriaTheme -Id 1 -ObjType LogonHours -ThemeId 1

Removes a Theme specified by ID from the Criteria Theme List within the Criteria Settings of the specified Logon Hours by ID.\
\*\*---------- EXAMPLE 2 ----------

Remove-RASCriteriaTheme -Name "Logon1" -ObjType LogonHours -ThemeId 1

Removes a Theme specified by ID from the Criteria Theme List within the Criteria Settings of the specified Logon Hours by Name.

## RELATED LINKS

* [Get-RASCriteria](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/get-rascriteria)
* [Set-RASCriteria](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/set-rascriteria)
* [Add-RASCriteriaTheme](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/add-rascriteriatheme)
* [Get-RASCriteriaTheme](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/get-rascriteriatheme)
