For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add-RASTemplateLicenseKey

SYNOPSIS

Modifies properties of a RAS Template license key.

SYNTAX

Add-RASTemplateLicenseKey [-Id] <uint> -Key <string> -KeyLimit <uint>
 -ObjType {RDSTemplate | VDITemplate | AVDTemplate} [<CommonParameters>]
Add-RASTemplateLicenseKey [-InputObject] <Template> -Key <string> -KeyLimit <uint>
 [<CommonParameters>]

DESCRIPTION

Modifies properties of a license key used by a RAS Template.

EXAMPLES

Example 1

Add-RASTemplateLicenseKey -ObjType VDITemplate -Id 1 -Key abcd1234 -KeyLimit 25

Modifies the specified license key properties for a RAS Template specified by ObjType and ID.

Example 2

Modifies the specified license key properties for a RAS Template specified by the Object Type variable.

Example 3

Modifies the specified license key properties for a RAS Template obtained from the pipeline output.

PARAMETERS

-Id

The ID of a RAS Template to modify.

-ObjType

The Object Type for which to add Template License Key.

Possible values: RDSTemplate, VDITemplate, AVDTemplate

Type reference: TemplateObjType

-InputObject

An object of type Template representing a RAS Template.

The object is obtained using the Get-Template cmdlet.

Type reference: Template

-Key

The license key.

-KeyLimit

The max limit for the license key.

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

Template

OUTPUTS

None

Last updated