Invoke-RASStopOptimization
Stop optimization on specified object.
Invoke-RASStopOptimization -HostId <string> -ObjType {AVDTemplate | RDSTemplate | VDITemplate | AVDHost | RDSHost | VDIHost} -ProviderId <uint> [<CommonParameters>]
Stops optimization on a specified object.
-ObjType <StopOptimizationObjType> Type of object to stop optimization for.
Possible values: AVDTemplate, RDSTemplate, VDITemplate, AVDHost, RDSHost, VDIHost
-ProviderId <uint> Provider Id.
-HostId <string> Host Id.
<CommonParameters>
-none-
-none-
---------- 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.