Get-RASTemplate
SYNOPSIS
Retrieves information about one or multiple Template properties.
SYNTAX
Get-RASTemplate [-Id] <uint> -ObjType {RDSTemplate | VDITemplate | AVDTemplate} [<CommonParameters>]Get-RASTemplate [[-SiteId] <uint>] -ObjType {RDSTemplate | VDITemplate | AVDTemplate}
[-Name <string>] [<CommonParameters>]DESCRIPTION
The cmdlet returns an object of type Template properties. To see the complete list of object properties, use the Format-List cmdlet(see examples). The result set contains only the major properties of a group; it does not include the complete list of settings supported in RAS.
EXAMPLES
Example 1
Get-RASTemplate -ObjType RDSTemplate -Name "My Template" | Format-ListRetrieves information about the RDS Template properties specified by name from the Licensing Server site. To retrieve the info from a specific site, specify the -SiteId parameter. The Format-List cmdlet formats the display output to include all available group properties.
Example 2
Retrieves information about the VDI Template specified by ID from the Licensing Server site.
PARAMETERS
-Name
RAS Template name.
-SiteId
The site ID from which to retrieve the RAS Template info.
If the parameter is omitted, the site ID of the Licensing Server will be used.
-Id
The ID of a RAS Template for which to retrieve the information.
-ObjType
Template object type.
Possible values: RDSTemplate, VDITemplate, AVDTemplate
Type reference: TemplateObjType
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
Template
RELATED LINKS
Last updated