# Get-RASImageOptimizationPredefined

## NAME

Get-RASImageOptimizationPredefined

## SYNOPSIS

Retrieves the List of Predefined Components/Services/Tasks.

## SYNTAX

**Get-RASImageOptimizationPredefined**\
-[Type](#Type) {RDSHost | RDS |\
VDI}\
-[WindowsComponent](#windowscomponent-string)_(SwitchParameter)_\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Get-RASImageOptimizationPredefined**\
-[Type](#Type) {RDSHost | RDS |\
VDI}\
-[WindowsScheduledTask](#windowsscheduledtask-string)_(SwitchParameter)_\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Get-RASImageOptimizationPredefined**\
-[Type](#Type) {RDSHost | RDS |\
VDI}\
-[WindowsService](#windowsservice-string)_(SwitchParameter)_\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Retrieves the List of Predefined Components/Services/Tasks.

## PARAMETERS

## Type

([PredefinedServerObjType](../types/predefinedserverobjtype))\
Specifies the Server object type.

Possible values: RDSHost, RDS, VDI

```
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## WindowsComponent (SwitchParameter)

Windows Component switch parameter.

```
        Required?                    true

        Position?                    named

        Default value                False

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## WindowsScheduledTask (SwitchParameter)

Windows Scheduled Task switch parameter.

```
        Required?                    true

        Position?                    named

        Default value                False

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## WindowsService (SwitchParameter)

Windows Service swtich parameter.

```
        Required?                    true

        Position?                    named

        Default value                False

        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

[PredefinedComponent](../types/predefinedcomponent)

## EXAMPLES

\*\*---------- EXAMPLE 1 ----------

Get-RASImageOptimizationPredefines -Id 30 -ObjType RDS

Retrieves the List of Predefined Components/Services/Tasks.

## RELATED LINKS

-none-
