Remove-RASSchedule
Last updated
Last updated
Remove-RASSchedule
Removes a Schedule.
Remove-RASSchedule [-] <uint> - {RDS | VDI | AVD} [<>]
Remove-RASSchedule [-] <> [<>]
Remove-RASSchedule [-] <string> [[-] <uint>] - {RDS | VDI | AVD} [<>]
Removes a Schedule property.
-SiteId <uint> Site ID from which to delete the schedule job.
-Id <uint> Scheduler job ID.
-Name <string> Scheduler job name.
Possible values: RDS, VDI, AVD
To obtain the object, use the Get-RASSchedule command.
<CommonParameters>
-none-
---------- 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 ----------
Remove-RASSchedule -Id 10 -ObjType RDS
Removes the Schedule property specified by ID. To obtain the group ID, use the Get-RASSchedule cmdlet. ---------- EXAMPLE 3 ----------
Get-RASSchedule -Id 10 | Remove-RASSchedule
Removes the Schedule property, which is identified by the object obtained from the pipeline output.
-ObjType <> Schedule object type.
-InputObject <> An object of type Schedule representing the target scheduler job.