For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add-RASImageOptimizationWindowsComponent

SYNOPSIS

Adds Windows Custom Component.

SYNTAX

Add-RASImageOptimizationWindowsComponent
 -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings}
 [-Aliases <string>] [-ComponentName <string>] [-DisplayName <string>] [-SiteId <uint>]
 [<CommonParameters>]
Add-RASImageOptimizationWindowsComponent [-Id] <uint>
 -ObjType {RDSHost | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate}
 [-Aliases <string>] [-ComponentName <string>] [-DisplayName <string>] [<CommonParameters>]
Add-RASImageOptimizationWindowsComponent [-InputObject] <RASSerilazableObj> [-Aliases <string>]
 [-ComponentName <string>] [-DisplayName <string>] [<CommonParameters>]
Add-RASImageOptimizationWindowsComponent [-Name] <string> [[-SiteId] <uint>]
 -ObjType {RDSHost | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate}
 [-Aliases <string>] [-ComponentName <string>] [-DisplayName <string>] [<CommonParameters>]

DESCRIPTION

Adds Windows Component to the following list.

EXAMPLES

Example 1

Adds the Windows Custom Component to the object type RDS.

PARAMETERS

-Aliases

-DisplayName

-ComponentName

-Name

The name or server for which to modify the Image Optimization settings.

-SiteId

Site ID from which to modify the Image Optimization settings.

If the parameter is omitted, the Licensing Server site ID will be used.

-Id

The ID of a server for which to modify the Image Optimization settings.

-InputObject

An object of type RDS, VDITemplate or VDIDesktop for which to modify the Image Optimization settings.

Type reference: RASSerilazableObj

-ObjType

The Object Type for which to modify the Image Optimization settings.

Possible values: RDSHost, VDIHostPool, AVDHostPool, RDSTemplate, VDITemplate, AVDTemplate

Type reference: OptimizationServerObjType

-DefObjType

The Default Object Type for which to modify the Image Optimization settings.

Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings

Type reference: ServerDefObjType

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

None

Last updated