Remove-RASScheduleTarget
NAME
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.
PARAMETERS
-Name <string> Scheduler job name.
-SiteId <uint> Site ID to modify the schedule job.
-Id <uint> Scheduler job ID.
-ObjType <ScheduleObjType> Schedule object type.
Possible values: RDS, VDI, AVD
-TargetType <ScheduleTargetType> Schedule target type.
Possible values: Host, HostPool
-TargetID <uint> The target RD Session Host server or server group Ids depending on the TargetType parameter.
-PoolId <uint>
-GUID <string>
-GuestName <string>
-HostAzureID <string>
<CommonParameters>
INPUTS
-none-
OUTPUTS
-none-
EXAMPLES
---------- EXAMPLE 1 ----------
Remove-RASScheduleTarget -ObjType VDI -Id 1 -TargetID 1
Removes the specified schedule target id to the schedule item specified by id. ---------- EXAMPLE 2 ----------
Remove-RASScheduleTarget -ObjType VDI -Id 1 -PoolID 1 -GUID "SampleGUID" -GuestName "SampleGuestName"
Removes the specified schedule target native host to the schedule item specified by id. ---------- EXAMPLE 3 ----------
Remove-RASScheduleTarget -ObjType VDI -Id 1 -PoolID 1 -HostAzureID "SampleAzureID"
Removes the specified azure schedule target native host to the schedule item specified by id.
RELATED LINKS
Last updated