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

Invoke-RASStopOptimization

SYNOPSIS

Stop optimization on specified object.

SYNTAX

Invoke-RASStopOptimization -HostId <string>
 -ObjType {AVDTemplate | RDSTemplate | VDITemplate | AVDHost | RDSHost | VDIHost} -ProviderId <uint>
 [<CommonParameters>]

DESCRIPTION

Stops optimization on a specified object.

EXAMPLES

Example 1

Invoke-RASCommand -Action StopOptimization -ObjType AVDHost -ProviderId 1 -HostId "f243a429-4502-4aa3-a1ed-0b61a32638e2"

Attempts to stop optimization of AVD Host with Id "f243a429-4502-4aa3-a1ed-0b61a32638e2" and under provider with Id 1.

PARAMETERS

-ObjType

Type of object to stop optimization for.

Possible values: AVDTemplate, RDSTemplate, VDITemplate, AVDHost, RDSHost, VDIHost

Type reference: StopOptimizationObjType

-ProviderId

Provider Id.

-HostId

Host Id.

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