Remove-RASTemplateLicenseKey

NAME

Remove-RASTemplateLicenseKey

SYNOPSIS

Removes the licenses key info from a RAS Template.

SYNTAX

Remove-RASTemplateLicenseKey [-Idarrow-up-right] <uint> -Keyarrow-up-right <string> -ObjTypearrow-up-right {RDSTemplate | VDITemplate | AVDTemplate} [<CommonParametersarrow-up-right>] Remove-RASTemplateLicenseKey [-InputObjectarrow-up-right] <Templatearrow-up-right> -Keyarrow-up-right <string> [<CommonParametersarrow-up-right>]

DESCRIPTION

Removes a license key information from a RAS Template.

PARAMETERS

-Id <uint> The ID of the RAS Template to modify.

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

-ObjType <TemplateObjTypearrow-up-right> The Object Type for which to add Template License Key. Possible values: RDSTemplate, VDITemplate, AVDTemplate

-InputObject <Templatearrow-up-right> An object of type Template representing a RAS Template. The object is obtained using the Get-Template cmdlet.

-Key <string> The license key to remove.

<CommonParameters>

INPUTS

Templatearrow-up-right

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Remove-RASTemplateLicenseKey -ObjType VDITemplate -Id 1 -Key abcd1234 Removes the specified license key details from the RAS Template specified by ObjType and ID. ---------- EXAMPLE 2 ---------- Remove-RASTemplateLicenseKey -InputObject $Template -Key abcd1234 Removes the specified license key details from the RAS Template specified by the $Template variable. ---------- EXAMPLE 3 ---------- Get-RASTemplate -ObjType VDITemplate -Id 1 | Remove-RASTemplateLicenseKey -Key abcd1234 Removes the specified license key details from the RAS Template obtained from the pipeline output.

Last updated