Set-RASTemplate

NAME

Set-RASTemplate

SYNOPSIS

Modifies a Template property.

SYNTAX

Set-RASTemplate [-Idarrow-up-right] <uint> -ObjTypearrow-up-right {RDSTemplate | VDITemplate | AVDTemplate} [-Addressarrow-up-right <string>] [-Administratorarrow-up-right <string>] [-AdminPasswordarrow-up-right <SecureString>] [-ComputerNamearrow-up-right <string>] [-DeviceNamearrow-up-right <string>] [-Domainarrow-up-right <string>] [-DomainOrgUnitarrow-up-right <string>] [-DomainPasswordarrow-up-right <SecureString>] [-FolderIdarrow-up-right <string>] [-FolderNamearrow-up-right <string>] [-HWGPUarrow-up-right <bool>] [-ImagePrepToolarrow-up-right {SysPrep | RASPrep}] [-InheritDefaultOptimizationSettingsarrow-up-right <bool>] [-InstanceTypearrow-up-right <string>] [-MaximumIOPSarrow-up-right <ulong>] [-NativePoolIdarrow-up-right <string>] [-NativePoolNamearrow-up-right <string>] [-NewNamearrow-up-right <string>] [-Organizationarrow-up-right <string>] [-OSDiskTypearrow-up-right {StandardHDD | StandardSSD | PremiumSSD}] [-OwnerNamearrow-up-right <string>] [-PhysicalHostIdarrow-up-right <string>] [-PhysicalHostNamearrow-up-right <string>] [-ResourceGrouparrow-up-right <string>] [-Sizearrow-up-right <ulong>] [-SubFolderNamearrow-up-right <string>] [-SubnetIDarrow-up-right <string>] [-SubnetMaskarrow-up-right <string>] [-SubnetNamearrow-up-right <string>] [-Throughputarrow-up-right <ulong>] [-UseSeperateNetworkInterfacearrow-up-right <bool>] [-VirtualNetworkIDarrow-up-right <string>] [-VirtualNetworkNamearrow-up-right <string>] [-VMSizearrow-up-right <string>] [-VolumeTypearrow-up-right {gp2 | gp3 | io1 | io2 | standard}] [<CommonParametersarrow-up-right>] Set-RASTemplate [-InputObjectarrow-up-right] <Templatearrow-up-right> -ObjTypearrow-up-right {RDSTemplate | VDITemplate | AVDTemplate} [-Addressarrow-up-right <string>] [-Administratorarrow-up-right <string>] [-AdminPasswordarrow-up-right <SecureString>] [-ComputerNamearrow-up-right <string>] [-DeviceNamearrow-up-right <string>] [-Domainarrow-up-right <string>] [-DomainOrgUnitarrow-up-right <string>] [-DomainPasswordarrow-up-right <SecureString>] [-FolderIdarrow-up-right <string>] [-FolderNamearrow-up-right <string>] [-HWGPUarrow-up-right <bool>] [-ImagePrepToolarrow-up-right {SysPrep | RASPrep}] [-InheritDefaultOptimizationSettingsarrow-up-right <bool>] [-InstanceTypearrow-up-right <string>] [-MaximumIOPSarrow-up-right <ulong>] [-NativePoolIdarrow-up-right <string>] [-NativePoolNamearrow-up-right <string>] [-NewNamearrow-up-right <string>] [-Organizationarrow-up-right <string>] [-OSDiskTypearrow-up-right {StandardHDD | StandardSSD | PremiumSSD}] [-OwnerNamearrow-up-right <string>] [-PhysicalHostIdarrow-up-right <string>] [-PhysicalHostNamearrow-up-right <string>] [-ResourceGrouparrow-up-right <string>] [-Sizearrow-up-right <ulong>] [-SubFolderNamearrow-up-right <string>] [-SubnetIDarrow-up-right <string>] [-SubnetMaskarrow-up-right <string>] [-SubnetNamearrow-up-right <string>] [-Throughputarrow-up-right <ulong>] [-UseSeperateNetworkInterfacearrow-up-right <bool>] [-VirtualNetworkIDarrow-up-right <string>] [-VirtualNetworkNamearrow-up-right <string>] [-VMSizearrow-up-right <string>] [-VolumeTypearrow-up-right {gp2 | gp3 | io1 | io2 | standard}] [<CommonParametersarrow-up-right>] Set-RASTemplate [-Namearrow-up-right] <string> [[-SiteIdarrow-up-right] <uint>] -ObjTypearrow-up-right {RDSTemplate | VDITemplate | AVDTemplate} [-Addressarrow-up-right <string>] [-Administratorarrow-up-right <string>] [-AdminPasswordarrow-up-right <SecureString>] [-ComputerNamearrow-up-right <string>] [-DeviceNamearrow-up-right <string>] [-Domainarrow-up-right <string>] [-DomainOrgUnitarrow-up-right <string>] [-DomainPasswordarrow-up-right <SecureString>] [-FolderIdarrow-up-right <string>] [-FolderNamearrow-up-right <string>] [-HWGPUarrow-up-right <bool>] [-ImagePrepToolarrow-up-right {SysPrep | RASPrep}] [-InheritDefaultOptimizationSettingsarrow-up-right <bool>] [-InstanceTypearrow-up-right <string>] [-MaximumIOPSarrow-up-right <ulong>] [-NativePoolIdarrow-up-right <string>] [-NativePoolNamearrow-up-right <string>] [-NewNamearrow-up-right <string>] [-Organizationarrow-up-right <string>] [-OSDiskTypearrow-up-right {StandardHDD | StandardSSD | PremiumSSD}] [-OwnerNamearrow-up-right <string>] [-PhysicalHostIdarrow-up-right <string>] [-PhysicalHostNamearrow-up-right <string>] [-ResourceGrouparrow-up-right <string>] [-Sizearrow-up-right <ulong>] [-SubFolderNamearrow-up-right <string>] [-SubnetIDarrow-up-right <string>] [-SubnetMaskarrow-up-right <string>] [-SubnetNamearrow-up-right <string>] [-Throughputarrow-up-right <ulong>] [-UseSeperateNetworkInterfacearrow-up-right <bool>] [-VirtualNetworkIDarrow-up-right <string>] [-VirtualNetworkNamearrow-up-right <string>] [-VMSizearrow-up-right <string>] [-VolumeTypearrow-up-right {gp2 | gp3 | io1 | io2 | standard}] [<CommonParametersarrow-up-right>]

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.

-Id <uint> The ID of a RAS Template to modify.

-InputObject <Templatearrow-up-right> An object of type Template representing the target RAS Template info. To obtain the object, use the Get-RASTemplate command."

-ObjType <Templatearrow-up-right> Template object type. Possible values: RDSTemplate, VDITemplate, AVDTemplate

-NewName <string> RAS Template name.

-FolderName <string> Folder name where desktop VMs will be created.

-FolderId <string> The ID of a folder where desktop VMs will be created.

-SubFolderName <string> Subfolder name where desktop VMs will be created.

-NativePoolId <string> The ID of the native pool where desktop VMs will be created.

-NativePoolName <string> The name of the native pool where desktop VMs will be created.

-HWGPU <bool> Enable hardware acceleration graphics licensing support.

-PhysicalHostId <string> The ID of a physical host where desktop VMs will be created.

-PhysicalHostName <string> The name of a physical host where desktop VMs will be created.

-UseSeperateNetworkInterface <bool> Use a separate network interface for LAN access.

-Address <string> The address of the network interface.

-SubnetMask <string> The subnet mask of the network interface.

-InstanceType <string> Instance type.

-DeviceName <string> Device name.

-VolumeType <VolumeTypearrow-up-right> Volume type. Possible values: gp2, gp3, io1, io2, standard

-Size <ulong> Size (GiB).

-MaximumIOPS <ulong> Maximum IOPS.

-Throughput <ulong> Throughput (MB/s).

-ResourceGroup <string> Resource group.

-VMSize <string> VM size.

-OSDiskType <DiskTypearrow-up-right> OS disk type. Possible values: StandardHDD, StandardSSD, PremiumSSD

-VirtualNetworkID <string> Virtual network ID.

-VirtualNetworkName <string> Virtual network name.

-SubnetID <string> Subnet ID.

-SubnetName <string> Subnet name.

-ImagePrepTool <ImagePrepToolarrow-up-right> Image preparation tool: RASPrep (default) or SysPrep. Possible values: SysPrep, RASPrep

-ComputerName <string> The FQDN or IP address of the target VM.

-OwnerName <string> A desktop VM owner name (assigned to a VM by RASprep or Sysprep).

-Organization <string> Organization name (assigned to a VM by RASprep or Sysprep).

-Domain <string> Domain or WorkGroup to join (assigned to a VM by RASprep or Sysprep).

-DomainPassword <SecureString> The password of the domain administrator specified in the Administrator parameter.

-Administrator <string> The administrator of the domain specified in the JoinDomain parameter.

-AdminPassword <SecureString> The password of the administrator for the desktop VM (assigned to a VM by RASprep or Sysprep).

-DomainOrgUnit <string> Domain Organization unit

-InheritDefaultOptimizationSettings <bool> If true, default Optimization settings will be inherited.

<CommonParameters>

INPUTS

Templatearrow-up-right

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.

Last updated