Add-RASImageOptimizationWindowsScheduledTask
SYNOPSIS
Adds Windows Schedule Task.
SYNTAX
Add-RASImageOptimizationWindowsScheduledTask
-DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings}
-Location <string> -Task <string> [-SiteId <uint>] [<CommonParameters>]Add-RASImageOptimizationWindowsScheduledTask [-Id] <uint> -Location <string>
-ObjType {RDSHost | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate}
-Task <string> [<CommonParameters>]Add-RASImageOptimizationWindowsScheduledTask [-InputObject] <RASSerilazableObj> -Location <string>
-Task <string> [<CommonParameters>]Add-RASImageOptimizationWindowsScheduledTask [-Name] <string> [[-SiteId] <uint>] -Location <string>
-ObjType {RDSHost | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate}
-Task <string> [<CommonParameters>]DESCRIPTION
Adds Windows Schedule Task to the following list.
EXAMPLES
Example 1
Adds the Windows Schedule Task List to the object type RDS.
PARAMETERS
-Task
-Location
-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
RELATED LINKS
Last updated