Remove-RASTemplateLicenseKey
Removes the licenses key info from a RAS Template.
Remove-RASTemplateLicenseKey [-Id] <uint> -Key <string> -ObjType {RDSTemplate | VDITemplate | AVDTemplate} [<CommonParameters>] Remove-RASTemplateLicenseKey [-InputObject] <Template> -Key <string> [<CommonParameters>]
Removes a license key information from a RAS Template.
-Id <uint> The ID of the RAS Template to modify.
-ObjType <TemplateObjType> The Object Type for which to add Template License Key. Possible values: RDSTemplate, VDITemplate, AVDTemplate
-InputObject <Template> 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>
-none-
---------- 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.