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

Remove-RASScheduleTarget

SYNOPSIS

Removes a Schedule.

SYNTAX

Remove-RASScheduleTarget [-Id] <uint> -ObjType {RDS | VDI | AVD} -TargetID <uint>
 [-TargetType {Host | HostPool}] [<CommonParameters>]
Remove-RASScheduleTarget [-Id] <uint> -HostAzureID <string> -ObjType {RDS | VDI | AVD}
 -PoolId <uint> [-TargetType {Host | HostPool}] [<CommonParameters>]
Remove-RASScheduleTarget [-Id] <uint> -GuestName <string> -GUID <string> -ObjType {RDS | VDI | AVD}
 -PoolId <uint> [-TargetType {Host | HostPool}] [<CommonParameters>]
Remove-RASScheduleTarget [-Name] <string> [[-SiteId] <uint>] -ObjType {RDS | VDI | AVD}
 -TargetID <uint> [-TargetType {Host | HostPool}] [<CommonParameters>]
Remove-RASScheduleTarget [-Name] <string> [-SiteId] <uint> -HostAzureID <string>
 -ObjType {RDS | VDI | AVD} -PoolId <uint> [-TargetType {Host | HostPool}] [<CommonParameters>]
Remove-RASScheduleTarget [-Name] <string> [-SiteId] <uint> -GuestName <string> -GUID <string>
 -ObjType {RDS | VDI | AVD} -PoolId <uint> [-TargetType {Host | HostPool}] [<CommonParameters>]

DESCRIPTION

Removes a Schedule property.

EXAMPLES

Example 1

Removes the specified schedule target id to the schedule item specified by id.

Example 2

Removes the specified schedule target native host to the schedule item specified by id.

Example 3

Removes the specified azure schedule target native host to the schedule item specified by id.

PARAMETERS

-Name

Scheduler job name.

-SiteId

Site ID to modify the schedule job.

-Id

Scheduler job ID.

-ObjType

Schedule object type.

Possible values: RDS, VDI, AVD

Type reference: ScheduleObjType

-TargetType

Schedule target type.

Possible values: Host, HostPool

Type reference: ScheduleTargetType

-TargetID

The target RD Session Host server or server group Ids depending on the TargetType parameter.

-PoolId

-GUID

-GuestName

-HostAzureID

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