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

Remove-RASSchedule

SYNOPSIS

Removes a Schedule.

SYNTAX

Remove-RASSchedule [-Id] <uint> -ObjType {RDS | VDI | AVD} [<CommonParameters>]
Remove-RASSchedule [-InputObject] <Schedule> [<CommonParameters>]
Remove-RASSchedule [-Name] <string> [[-SiteId] <uint>] -ObjType {RDS | VDI | AVD}
 [<CommonParameters>]

DESCRIPTION

Removes a Schedule property.

EXAMPLES

Example 1

Remove-RASSchedule "My Schedule" -ObjType RDS

Removes the Schedule property specified by name. To remove a Schedule property from a specific site, specify the -SiteId parameter.

Example 2

Removes the Schedule property specified by ID. To obtain the group ID, use the Get-RASSchedule cmdlet.

Example 3

Removes the Schedule property, which is identified by the object obtained from the pipeline output.

PARAMETERS

-SiteId

Site ID from which to delete the schedule job.

-Id

Scheduler job ID.

-Name

Scheduler job name.

-ObjType

Schedule object type.

Possible values: RDS, VDI, AVD

Type reference: ScheduleObjType

-InputObject

An object of type Schedule representing the target scheduler job.

To obtain the object, use the Get-RASSchedule command.

Type reference: Schedule

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

Schedule

OUTPUTS

None

Last updated