Remove-RASSchedule

NAME

Remove-RASSchedule

SYNOPSIS

Removes a Schedule.

SYNTAX

Remove-RASSchedule [-Idarrow-up-right] <uint> -ObjTypearrow-up-right {RDS | VDI | AVD} [-TargetTypearrow-up-right {Host | HostPool}] [<CommonParametersarrow-up-right>] Remove-RASSchedule [-InputObjectarrow-up-right] <Schedulearrow-up-right> [-TargetTypearrow-up-right {Host | HostPool}] [<CommonParametersarrow-up-right>] Remove-RASSchedule [-Namearrow-up-right] <string> [[-SiteIdarrow-up-right] <uint>] -ObjTypearrow-up-right {RDS | VDI | AVD} [-TargetTypearrow-up-right {Host | HostPool}] [<CommonParametersarrow-up-right>]

DESCRIPTION

Removes a Schedule property.

PARAMETERS

-SiteId <uint> Site ID from which to delete the schedule job.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint> Scheduler job ID.

-Name <string> Scheduler job name.

-ObjType <ScheduleObjTypearrow-up-right> Schedule object type. Possible values: RDS, VDI, AVD

-InputObject <Schedulearrow-up-right> An object of type Schedule representing the target scheduler job. To obtain the object, use the Get-RASSchedule command."

-TargetType <Schedulearrow-up-right> Schedule target type. Possible values: Host, HostPool

<CommonParameters>

INPUTS

Schedulearrow-up-right

OUTPUTS

-none-

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 ---------- 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.

Last updated