Get-RASScheduleTarget

NAME

Get-RASScheduleTarget

SYNOPSIS

Gets a list of a Schedule's target native hosts or ids.

SYNTAX

Get-RASScheduleTarget [-Id] <uint> -ObjType {RDS | VDI | AVD} [-TargetType {Host | HostPool}] [<CommonParameters>] Get-RASScheduleTarget [[-Name] <string>] [[-SiteId] <uint>] -ObjType {RDS | VDI | AVD} [-TargetType {Host | HostPool}] [<CommonParameters>]

DESCRIPTION

Retrieves a list of a Schedule's target native hosts or ids.

PARAMETERS

-Name <string> Scheduler job name.

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

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

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

-Id <uint> Scheduler job ID.

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

-ObjType <ScheduleObjType> Schedule object type. Possible values: RDS, VDI, AVD

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

-TargetType <ScheduleTargetType> Schedule target type. Possible values: Host, HostPool

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        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 . 

INPUTS

-none-

OUTPUTS

TargetNativeHost[]

EXAMPLES

---------- EXAMPLE 1 ---------- Get-RASScheduleTarget -ObjType VDI -Id 1 Gets a list of a schedule's target native hosts or ids specified by schedule id. ---------- EXAMPLE 2 ---------- Get-RASScheduleTarget -ObjType VDI -Name "My Schedule" -SiteId 1 Gets a list of a schedule's target native hosts or ids specified by schedule name and site id.

Last updated

© 2024 Parallels International GmbH. All rights reserved.