Remove-RASRDSScheduleReboot

NAME

Remove-RASRDSScheduleReboot

SYNOPSIS

Removes an RD Session Host scheduler job of type "Reboot (server or group)".

SYNTAX

Remove-RASRDSScheduleReboot [-Name] <string> [[-SiteId] <uint>] [<CommonParameters>]

Remove-RASRDSScheduleReboot [-Id] <uint> [<CommonParameters>]

Remove-RASRDSScheduleReboot [-InputObject] <RDSSchedItem> [<CommonParameters>]

DESCRIPTION

Removes an RD Session Host scheduler job of type "Reboot (server or group)".

PARAMETERS


-Name <string>
Schedule job name.

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

-SiteId <uint>
Site ID from which to remove the specified scheduler job.

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

-Id <uint>
Schedule job ID.

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

-InputObject <RDSSchedItem>
An object of type RDSSchedItem representing the target scheduler job.

To obtain the object, use the Get-RDSSchedule command."

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false

<CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters documentation. 

INPUTS

RDSSchedItem

OUTPUTS

-none-

EXAMPLES


---------- EXAMPLE 1 ----------

Remove-RASRDSScheduleReboot -SiteId 1 -Name TSSchedule1

Removes a scheduler job with the specified name.

---------- EXAMPLE 2 ----------

Remove-RASRDSScheduleReboot -Id 1

Removes a scheduler job with job ID 1.

---------- EXAMPLE 3 ----------

Remove-RASRDSScheduleReboot -InputObject $schedJob

Removes a scheduler job represented by the $schedJob object.

---------- EXAMPLE 4 ----------

Get-RASRDSScheduleReboot -Id 1 ! Remove-RASRDSScheduleReboot

Removes a scheduler job represented by the $schedJob object obtained from the pipeline output.

RELATED LINKS