Add-RASScheduleTarget

NAME

Add-RASScheduleTarget

SYNOPSIS

Adds a new Schedule target.

SYNTAX

Add-RASScheduleTarget [-Idarrow-up-right] <uint> -ObjTypearrow-up-right {RDS | VDI | AVD} -TargetIDarrow-up-right <uint> [-TargetTypearrow-up-right {Host | HostPool}] [<CommonParametersarrow-up-right>] Add-RASScheduleTarget [-Idarrow-up-right] <uint> -ObjTypearrow-up-right {RDS | VDI | AVD} -PoolIdarrow-up-right <uint> [-GuestNamearrow-up-right <string>] [-GUIDarrow-up-right <string>] [-HostAzureIDarrow-up-right <string>] [-TargetTypearrow-up-right {Host | HostPool}] [<CommonParametersarrow-up-right>] Add-RASScheduleTarget [-Namearrow-up-right] <string> [[-SiteIdarrow-up-right] <uint>] -ObjTypearrow-up-right {RDS | VDI | AVD} -TargetIDarrow-up-right <uint> [-TargetTypearrow-up-right {Host | HostPool}] [<CommonParametersarrow-up-right>] Add-RASScheduleTarget [-Namearrow-up-right] <string> [[-SiteIdarrow-up-right] <uint>] -ObjTypearrow-up-right {RDS | VDI | AVD} -PoolIdarrow-up-right <uint> [-GuestNamearrow-up-right <string>] [-GUIDarrow-up-right <string>] [-HostAzureIDarrow-up-right <string>] [-TargetTypearrow-up-right {Host | HostPool}] [<CommonParametersarrow-up-right>]

DESCRIPTION

Creates a new Schedule property.

PARAMETERS

-Name <string> Scheduler job name.

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

-SiteId <uint> Site ID to modify the schedule job.

-Id <uint> Scheduler job ID.

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

-TargetType <ScheduleTargetTypearrow-up-right> 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

Schedulearrow-up-right

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASScheduleTarget -ObjType VDI -Id 1 -TargetID 1 Adds a schedule target id to the schedule item specified by id. ---------- EXAMPLE 2 ---------- Add-RASScheduleTarget -ObjType VDI -Name "My Schedule" -TargetID 1 Adds a schedule target id to the schedule item specified by name. ---------- EXAMPLE 3 ---------- Add-RASScheduleTarget -ObjType VDI -Id 1 -PoolID 1 -GUID "SampleGUID" -GuestName "SampleGuestName" Adds a schedule target native host to the schedule item specified by id. ---------- EXAMPLE 4 ---------- Add-RASScheduleTarget -ObjType VDI -Name "My Schedule" -PoolID 1 -HostAzureID "SampleAzureID" Adds a schedule target native host to the schedule item specified by name.

Last updated