Remove-RASTemplateVersion

NAME

Remove-RASTemplateVersion

SYNOPSIS

Removes a RAS Template version.

SYNTAX

Remove-RASTemplateVersion [- TemplateId ] <uint> [[- TemplateSiteId ] <uint> ] - ObjType {RDSTemplate | VDITemplate | AVDTemplate} - VersionId <uint> [ < CommonParameters > ]

Remove-RASTemplateVersion [- InputObject ] < TemplateVersion > [ < CommonParameters > ]

Remove-RASTemplateVersion [- TemplateName ] <string> [[- TemplateSiteId ] <uint> ] - ObjType {RDSTemplate | VDITemplate | AVDTemplate} - VersionId <uint> [ < CommonParameters > ]

DESCRIPTION

Removes a RAS Template version.

PARAMETERS


- TemplateName <string>
The name of the target RAS Template.

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

- TemplateSiteId <uint>
Site ID of the specified RAS Template.

If the parameter is omitted, the site ID of the Licensing Server will be used.

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

- TemplateId <uint>
The ID of the target RAS Template.

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

- ObjType < TemplateObjType >
The Object Type from which to remove the Template Version.

Possible values: RDSTemplate, VDITemplate, AVDTemplate

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

- VersionId <uint>
The Version ID of the Template Version.

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

- InputObject < TemplateVersion >
An object of type template version representing a RAS Template Version.

The object is obtained using the Get-RASTemplateVersion cmdlet.

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

< CommonParameters >
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters documentation. 

INPUTS

TemplateVersion

OUTPUTS

-none-

EXAMPLES


---------- EXAMPLE 1 ----------

Remove-RASTemplateVersion -ObjType VDITemplate -Id 1

Removes the version of the Template specified by ObjType and ID.

RELATED LINKS