Add-RASScheduleTarget
Last updated
Last updated
Add-RASScheduleTarget
Adds a new Schedule target.
Add-RASScheduleTarget [-] <uint> - {RDS | VDI | AVD} - <uint> [- {Host | HostPool}] [<>] Add-RASScheduleTarget [-] <uint> - {RDS | VDI | AVD} - <uint> [- <string>] [- <string>] [- <string>] [- {Host | HostPool}] [<>] Add-RASScheduleTarget [-] <string> [[-] <uint>] - {RDS | VDI | AVD} - <uint> [- {Host | HostPool}] [<>] Add-RASScheduleTarget [-] <string> [[-] <uint>] - {RDS | VDI | AVD} - <uint> [- <string>] [- <string>] [- <string>] [- {Host | HostPool}] [<>]
Creates a new Schedule property.
-Name <string> Scheduler job name.
-SiteId <uint> Site ID to modify the schedule job.
-Id <uint> Scheduler job ID.
-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>
-none-
---------- 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.
-ObjType <> Schedule object type. Possible values: RDS, VDI, AVD
-TargetType <> Schedule target type. Possible values: Host, HostPool