Get-RASImageOptimization
Retrieves the Image Optimization settings.
Get-RASImageOptimization -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} [-SiteId <uint>] [<CommonParameters>]
Get-RASImageOptimization [-Id] <uint> -ObjType {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} [<CommonParameters>]
Get-RASImageOptimization [[-Name] <string>] [[-SiteId] <uint>] -ObjType {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} [<CommonParameters>]
Retrieves the Image Optimization settings of RDS, RDSDefaults, VDITemplate or VDIDefaults.
-Name <string> The name or server for which to retrieve the Image Optimization settings.
-Id <uint> The ID of a server for which to retrieve the Image Optimization settings.
-SiteId <uint> Site ID from which to retrieve the Image Optimization settings.
If the parameter is omitted, the Licensing Server site ID will be used.
-ObjType <OptimizationServerObjType> The Object Type for which to retrieve the Image Optimization settings.
Possible values: RDSHost, RDS, VDIHostPool, AVDHostPool, RDSTemplate, VDITemplate, AVDTemplate
-DefObjType <ServerDefObjType> The Default Object Type for which to retrieve the Image Optimization settings.
Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef
<CommonParameters>
-none-
---------- EXAMPLE 1 ----------
Get-RASImageOptimization -DefObjType RDSDef
Retrieves the Image Optimization of the RDS Default Settings. ---------- EXAMPLE 2 ----------
Get-RASImageOptimization -Id 1 -ObjType VDITemplate
Retrieves the Image Optimization of the specified VDITemplate by Id.