Set-RASTemplateVersion

NAME

Set-RASTemplateVersion

SYNOPSIS

Modifies the properties of a RAS Template version.

SYNTAX

Set-RASTemplateVersion [-InputObject] <TemplateVersion> [-NewName <string>] [-VersionDescription <string>] [<CommonParameters>]

Set-RASTemplateVersion [[-TemplateId] <uint>] [[-TemplateName] <string>] [[-TemplateSiteId] <uint>] -ObjType {RDSTemplate | VDITemplate | AVDTemplate} -VersionId <uint> [-NewName <string>] [-VersionDescription <string>] [<CommonParameters>]

DESCRIPTION

Modifies the properties of a RAS Template version.

PARAMETERS


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

        Required?                    false
        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?                    false
        Position?                    0
        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

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

Possible values: RDSTemplate, VDITemplate, AVDTemplate

        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

-NewName <string>
Template version name.

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

-VersionDescription <string>
Template version description

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        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 ----------

Set-RASTemplateVersion -ObjType VDITemplate -Id 1

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

RELATED LINKS