Remove-RASTemplateLicenseKey
SYNOPSIS
Removes the licenses key info from a RAS Template.
SYNTAX
Remove-RASTemplateLicenseKey [-Id] <uint> -Key <string>
-ObjType {RDSTemplate | VDITemplate | AVDTemplate} [<CommonParameters>]Remove-RASTemplateLicenseKey [-InputObject] <Template> -Key <string> [<CommonParameters>]DESCRIPTION
Removes a license key information from a RAS Template.
EXAMPLES
Example 1
Remove-RASTemplateLicenseKey -ObjType VDITemplate -Id 1 -Key abcd1234Removes the specified license key details from the RAS Template specified by ObjType and ID.
Example 2
Removes the specified license key details from the RAS Template specified by the $Template variable.
Example 3
Removes the specified license key details from the RAS Template obtained from the pipeline output.
PARAMETERS
-Id
The ID of the 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 to remove.
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
RELATED LINKS
Last updated