> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/set-rastemplate.md).

# Set-RASTemplate.md

## NAME

Set-RASTemplate

## SYNOPSIS

Modifies a Template property.

## SYNTAX

**Set-RASTemplate** \[[Id](#id-string)] *(uint)* -[ObjType](#objtype) {RDSTemplate | VDITemplate | AVDTemplate} \[[Address](#address-string) *(string)*] \[[Administrator](#administrator-string) *(string)*] \[[AdminPassword](#adminpassword-string) *(SecureString)*] \[[ComputerName](#computername-string) *(string)*] \[-[DatastoreIDs](#DatastoreIDs) *(string\[])*] \[-[DatastoreSource](#DatastoreSource) {Template | Selection}] \[[Description](#description-string) *(string)*] \[[DeviceName](#devicename-string) *(string)*] \[[Domain](#domain-string) *(string)*] \[[DomainOrgUnit](#domainorgunit-string) *(string)*] \[[DomainPassword](#domainpassword-string) *(SecureString)*] \[[FolderId](#folderid-string) *(string)*] \[[FolderName](#foldername-string) *(string)*] \[[HWGPU](#hwgpu-string) *(bool)*] \[-[ImagePrepTool](#ImagePrepTool) {SysPrep | RASPrep}] \[[InheritDefaultOptimizationSettings](#inheritdefaultoptimizationsettings-string) *(bool)*] \[[InstanceType](#instancetype-string) *(string)*] \[[MaximumIOPS](#maximumiops-string) *(ulong)*] \[[NativePoolId](#nativepoolid-string) *(string)*] \[[NativePoolName](#nativepoolname-string) *(string)*] \[[NewName](#newname-string) *(string)*] \[[Organization](#organization-string) *(string)*] \[-[OSDiskType](#OSDiskType) {StandardHDD | StandardSSD | PremiumSSD}] \[[OwnerName](#ownername-string) *(string)*] \[[PhysicalHostId](#physicalhostid-string) *(string)*] \[[PhysicalHostName](#physicalhostname-string) *(string)*] \[[ResourceGroup](#resourcegroup-string) *(string)*] \[[Size](#size-string) *(ulong)*] \[[SubFolderName](#subfoldername-string) *(string)*] \[[SubnetID](#subnetid-string) *(string)*] \[[SubnetMask](#subnetmask-string) *(string)*] \[[SubnetName](#subnetname-string) *(string)*] \[[Throughput](#throughput-string) *(ulong)*] \[[UseSeperateNetworkInterface](#useseperatenetworkinterface-string) *(bool)*] \[[VirtualNetworkID](#virtualnetworkid-string) *(string)*] \[[VirtualNetworkName](#virtualnetworkname-string) *(string)*] \[[VMSize](#vmsize-string) *(string)*] \[-[VolumeType](#VolumeType) {gp2 | gp3 | io1 | io2 | standard}] \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Set-RASTemplate** \[-[InputObject](#inputobject)] *(*[*Template*](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/template.md)*)* -[ObjType](#objtype) {RDSTemplate | VDITemplate | AVDTemplate} \[[Address](#address-string) *(string)*] \[[Administrator](#administrator-string) *(string)*] \[[AdminPassword](#adminpassword-string) *(SecureString)*] \[[ComputerName](#computername-string) *(string)*] \[-[DatastoreIDs](#DatastoreIDs) *(string\[])*] \[-[DatastoreSource](#DatastoreSource) {Template | Selection}] \[[Description](#description-string) *(string)*] \[[DeviceName](#devicename-string) *(string)*] \[[Domain](#domain-string) *(string)*] \[[DomainOrgUnit](#domainorgunit-string) *(string)*] \[[DomainPassword](#domainpassword-string) *(SecureString)*] \[[FolderId](#folderid-string) *(string)*] \[[FolderName](#foldername-string) *(string)*] \[[HWGPU](#hwgpu-string) *(bool)*] \[-[ImagePrepTool](#ImagePrepTool) {SysPrep | RASPrep}] \[[InheritDefaultOptimizationSettings](#inheritdefaultoptimizationsettings-string) *(bool)*] \[[InstanceType](#instancetype-string) *(string)*] \[[MaximumIOPS](#maximumiops-string) *(ulong)*] \[[NativePoolId](#nativepoolid-string) *(string)*] \[[NativePoolName](#nativepoolname-string) *(string)*] \[[NewName](#newname-string) *(string)*] \[[Organization](#organization-string) *(string)*] \[-[OSDiskType](#OSDiskType) {StandardHDD | StandardSSD | PremiumSSD}] \[[OwnerName](#ownername-string) *(string)*] \[[PhysicalHostId](#physicalhostid-string) *(string)*] \[[PhysicalHostName](#physicalhostname-string) *(string)*] \[[ResourceGroup](#resourcegroup-string) *(string)*] \[[Size](#size-string) *(ulong)*] \[[SubFolderName](#subfoldername-string) *(string)*] \[[SubnetID](#subnetid-string) *(string)*] \[[SubnetMask](#subnetmask-string) *(string)*] \[[SubnetName](#subnetname-string) *(string)*] \[[Throughput](#throughput-string) *(ulong)*] \[[UseSeperateNetworkInterface](#useseperatenetworkinterface-string) *(bool)*] \[[VirtualNetworkID](#virtualnetworkid-string) *(string)*] \[[VirtualNetworkName](#virtualnetworkname-string) *(string)*] \[[VMSize](#vmsize-string) *(string)*] \[-[VolumeType](#VolumeType) {gp2 | gp3 | io1 | io2 | standard}] \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Set-RASTemplate** \[[Name](#name-string)] *(string)* \[\[-[SiteId](#siteid-string)] *(uint)*] -[ObjType](#objtype) {RDSTemplate | VDITemplate | AVDTemplate} \[[Address](#address-string) *(string)*] \[[Administrator](#administrator-string) *(string)*] \[[AdminPassword](#adminpassword-string) *(SecureString)*] \[[ComputerName](#computername-string) *(string)*] \[-[DatastoreIDs](#DatastoreIDs) *(string\[])*] \[-[DatastoreSource](#DatastoreSource) {Template | Selection}] \[[Description](#description-string) *(string)*] \[[DeviceName](#devicename-string) *(string)*] \[[Domain](#domain-string) *(string)*] \[[DomainOrgUnit](#domainorgunit-string) *(string)*] \[[DomainPassword](#domainpassword-string) *(SecureString)*] \[[FolderId](#folderid-string) *(string)*] \[[FolderName](#foldername-string) *(string)*] \[[HWGPU](#hwgpu-string) *(bool)*] \[-[ImagePrepTool](#ImagePrepTool) {SysPrep | RASPrep}] \[[InheritDefaultOptimizationSettings](#inheritdefaultoptimizationsettings-string) *(bool)*] \[[InstanceType](#instancetype-string) *(string)*] \[[MaximumIOPS](#maximumiops-string) *(ulong)*] \[[NativePoolId](#nativepoolid-string) *(string)*] \[[NativePoolName](#nativepoolname-string) *(string)*] \[[NewName](#newname-string) *(string)*] \[[Organization](#organization-string) *(string)*] \[-[OSDiskType](#OSDiskType) {StandardHDD | StandardSSD | PremiumSSD}] \[[OwnerName](#ownername-string) *(string)*] \[[PhysicalHostId](#physicalhostid-string) *(string)*] \[[PhysicalHostName](#physicalhostname-string) *(string)*] \[[ResourceGroup](#resourcegroup-string) *(string)*] \[[Size](#size-string) *(ulong)*] \[[SubFolderName](#subfoldername-string) *(string)*] \[[SubnetID](#subnetid-string) *(string)*] \[[SubnetMask](#subnetmask-string) *(string)*] \[[SubnetName](#subnetname-string) *(string)*] \[[Throughput](#throughput-string) *(ulong)*] \[[UseSeperateNetworkInterface](#useseperatenetworkinterface-string) *(bool)*] \[[VirtualNetworkID](#virtualnetworkid-string) *(string)*] \[[VirtualNetworkName](#virtualnetworkname-string) *(string)*] \[[VMSize](#vmsize-string) *(string)*] \[-[VolumeType](#VolumeType) {gp2 | gp3 | io1 | io2 | standard}] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

The cmdlet modifies a Template property.

## PARAMETERS

## Name (string)

The name of the RAS Template to modify.

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SiteId (uint)

The site ID to which the RAS Template belongs.

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
```

## Id (uint)

The ID of a RAS Template to modify.

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## InputObject ([Template](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/template.md))

An object of type Template representing the target RAS Template info.

To obtain the object, use the Get-RASTemplate command."

```
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       true (ByValue)

        Accept wildcard characters?  false
```

## ObjType ([Template](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/template.md))

Template object type.

Possible values: RDSTemplate, VDITemplate, AVDTemplate

```
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## NewName (string)

RAS Template Name.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Description (string)

RAS Template Description.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## FolderName (string)

Folder name where desktop VMs will be created.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## FolderId (string)

The ID of a folder where desktop VMs will be created.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SubFolderName (string)

Subfolder name where desktop VMs will be created.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## NativePoolId (string)

The ID of the native pool where desktop VMs will be created.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## NativePoolName (string)

The name of the native pool where desktop VMs will be created.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## HWGPU (bool)

Enable hardware acceleration graphics licensing support.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## PhysicalHostId (string)

The ID of a physical host where desktop VMs will be created.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## PhysicalHostName (string)

The name of a physical host where desktop VMs will be created.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## UseSeperateNetworkInterface (bool)

Use a separate network interface for LAN access.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Address (string)

The address of the network interface.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SubnetMask (string)

The subnet mask of the network interface.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## InstanceType (string)

Instance type.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## DeviceName (string)

Device name.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## VolumeType ([VolumeType](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/volumetype.md))

Volume type.

Possible values: gp2, gp3, io1, io2, standard

```
        Required?                    false

        Position?                    named

        Default value                gp2

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Size (ulong)

Size (GiB).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## MaximumIOPS (ulong)

Maximum IOPS.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Throughput (ulong)

Throughput (MB/s).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ResourceGroup (string)

Resource group.

Available to VDI/RDS Templates Azure and AVD Templates.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## VMSize (string)

VM size.

Available to VDI/RDS Templates Azure and AVD Templates.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## OSDiskType ([DiskType](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/disktype.md))

OS disk type.

Available to VDI/RDS Templates Azure and AVD Templates.

Possible values: StandardHDD, StandardSSD, PremiumSSD

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## VirtualNetworkID (string)

Virtual network ID.

Available to VDI/RDS Templates Azure and AVD Templates.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## VirtualNetworkName (string)

Virtual network name.

Available to VDI/RDS Templates Azure and AVD Templates.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SubnetID (string)

Subnet ID.

Available to VDI/RDS Templates Azure and AVD Templates.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SubnetName (string)

Subnet name.

Available to VDI/RDS Templates Azure and AVD Templates.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ImagePrepTool ([ImagePrepTool](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/imagepreptool.md))

Image preparation tool: RASPrep (default) or SysPrep.

Possible values: SysPrep, RASPrep

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ComputerName (string)

The FQDN or IP address of the target VM.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## OwnerName (string)

A desktop VM owner name (assigned to a VM by RASprep or Sysprep).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Organization (string)

Organization name (assigned to a VM by RASprep or Sysprep).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Domain (string)

Domain or WorkGroup to join (assigned to a VM by RASprep or Sysprep).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## DomainPassword (SecureString)

The password of the domain administrator specified in the Administrator parameter.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Administrator (string)

The administrator of the domain specified in the JoinDomain parameter.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AdminPassword (SecureString)

The password of the administrator for the desktop VM (assigned to a VM by RASprep or Sysprep).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## DomainOrgUnit (string)

Domain Organization unit

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## DatastoreSource

([DatastoreSourceType](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/datastoresourcetype.md)) Datastore Source.

Possible values: Template, Selection

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## DatastoreIDs (string\[])

Datastore IDs.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## InheritDefaultOptimizationSettings (bool)

If true, default Optimization settings will be inherited.

```
        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

[Template](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/template.md)

## OUTPUTS

-none-

## EXAMPLES

\*\*---------- EXAMPLE 1 ----------

Set-RASTemplate -ObjType RDSTemplate -Name "My Template" | Format-List

Modifies the RDS Template properties specified by name from the Licensing Server site.\
\*\*---------- EXAMPLE 2 ----------

Set-RASTemplate -ObjType VDITemplate -Id 10

Modifies VDI Template specified by ID from the Licensing Server site.

## RELATED LINKS

* [New-RASTemplate](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/new-rastemplate.md)
* [Remove-RASTemplate](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/remove-rastemplate.md)
* [Get-RASTemplate](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/get-rastemplate.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/commands/set-rastemplate.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
