All pages
Powered by GitBook
1 of 1

Loading...

Set-RASTemplate.md

NAME

Set-RASTemplate

SYNOPSIS

Modifies a Template property.

SYNTAX

Set-RASTemplate [] (uint) - {RDSTemplate | VDITemplate | AVDTemplate} [ (string)] [ (string)] [ (SecureString)] [ (string)] [- (string[])] [- {Template | Selection}] [ (string)] [ (string)] [ (string)] [ (string)] [ (SecureString)] [ (string)] [ (string)] [ (bool)] [- {SysPrep | RASPrep}] [ (bool)] [ (string)] [ (ulong)] [ (string)] [ (string)] [ (string)] [ (string)] [- {StandardHDD | StandardSSD | PremiumSSD}] [ (string)] [

Set-RASTemplate [-] () - {RDSTemplate | VDITemplate | AVDTemplate} [ (string)] [ (string)] [ (SecureString)] [ (string)] [- (string[])] [- {Template | Selection}] [ (string)] [ (string)] [ (string)] [ (string)] [ (SecureString)] [ (string)] [ (string)] [ (bool)] [- {SysPrep | RASPrep}] [ (bool)] [ (string)] [ (ulong)] [ (string)] [ (string)] [ (string)] [ (string)] [- {StandardHDD | StandardSSD | PremiumSSD}] [

Set-RASTemplate [] (string) [[-] (uint)] - {RDSTemplate | VDITemplate | AVDTemplate} [ (string)] [ (string)] [ (SecureString)] [ (string)] [- (string[])] [- {Template | Selection}] [ (string)] [ (string)] [ (string)] [ (string)] [ (SecureString)] [ (string)] [ (string)] [ (bool)] [- {SysPrep | RASPrep}] [ (bool)] [ (string)] [ (ulong)] [ (string)] [ (string)] [ (string)] [ (string)] [- {StandardHDD | StandardSSD | PremiumSSD}] [

DESCRIPTION

The cmdlet modifies a Template property.

PARAMETERS

Name (string)

The name of the RAS Template to modify.

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 ()

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

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

ObjType ()

Template object type.

Possible values: RDSTemplate, VDITemplate, AVDTemplate

NewName (string)

RAS Template Name.

Description (string)

RAS Template Description.

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 ()

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.

Available to VDI/RDS Templates Azure and AVD Templates.

VMSize (string)

VM size.

Available to VDI/RDS Templates Azure and AVD Templates.

OSDiskType ()

OS disk type.

Available to VDI/RDS Templates Azure and AVD Templates.

Possible values: StandardHDD, StandardSSD, PremiumSSD

VirtualNetworkID (string)

Virtual network ID.

Available to VDI/RDS Templates Azure and AVD Templates.

VirtualNetworkName (string)

Virtual network name.

Available to VDI/RDS Templates Azure and AVD Templates.

SubnetID (string)

Subnet ID.

Available to VDI/RDS Templates Azure and AVD Templates.

SubnetName (string)

Subnet name.

Available to VDI/RDS Templates Azure and AVD Templates.

ImagePrepTool ()

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

DatastoreSource

() Datastore Source.

Possible values: Template, Selection

DatastoreIDs (string[])

Datastore IDs.

InheritDefaultOptimizationSettings (bool)

If true, default Optimization settings will be inherited.

(CommonParameters)

INPUTS

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

(string)
] [
(string)] [
(string)] [
(ulong)] [
(string)] [
(string)] [
(string)] [
(string)] [
(ulong)] [
(bool)] [
(string)] [
(string)] [
(string)] [-
{gp2 | gp3 | io1 | io2 | standard}] [(
)]
(string)
] [
(string)] [
(string)] [
(string)] [
(ulong)] [
(string)] [
(string)] [
(string)] [
(string)] [
(ulong)] [
(bool)] [
(string)] [
(string)] [
(string)] [-
{gp2 | gp3 | io1 | io2 | standard}] [(
)]
(string)
] [
(string)] [
(string)] [
(string)] [
(ulong)] [
(string)] [
(string)] [
(string)] [
(string)] [
(ulong)] [
(bool)] [
(string)] [
(string)] [
(string)] [-
{gp2 | gp3 | io1 | io2 | standard}] [(
)]
Id
ObjType
Address
Administrator
AdminPassword
ComputerName
DatastoreIDs
DatastoreSource
Description
DeviceName
Domain
DomainOrgUnit
DomainPassword
FolderId
FolderName
HWGPU
ImagePrepTool
InheritDefaultOptimizationSettings
InstanceType
MaximumIOPS
NativePoolId
NativePoolName
NewName
Organization
OSDiskType
OwnerName
PhysicalHostId
InputObject
Template
ObjType
Address
Administrator
AdminPassword
ComputerName
DatastoreIDs
DatastoreSource
Description
DeviceName
Domain
DomainOrgUnit
DomainPassword
FolderId
FolderName
HWGPU
ImagePrepTool
InheritDefaultOptimizationSettings
InstanceType
MaximumIOPS
NativePoolId
NativePoolName
NewName
Organization
OSDiskType
OwnerName
Name
SiteId
ObjType
Address
Administrator
AdminPassword
ComputerName
DatastoreIDs
DatastoreSource
Description
DeviceName
Domain
DomainOrgUnit
DomainPassword
FolderId
FolderName
HWGPU
ImagePrepTool
InheritDefaultOptimizationSettings
InstanceType
MaximumIOPS
NativePoolId
NativePoolName
NewName
Organization
OSDiskType
OwnerName
Template
Template
VolumeType
DiskType
ImagePrepTool
DatastoreSourceType
Template
New-RASTemplate
Remove-RASTemplate
Get-RASTemplate
PhysicalHostName
ResourceGroup
Size
SubFolderName
SubnetID
SubnetMask
SubnetName
Throughput
UseSeperateNetworkInterface
VirtualNetworkID
VirtualNetworkName
VMSize
VolumeType
CommonParameters
PhysicalHostId
PhysicalHostName
ResourceGroup
Size
SubFolderName
SubnetID
SubnetMask
SubnetName
Throughput
UseSeperateNetworkInterface
VirtualNetworkID
VirtualNetworkName
VMSize
VolumeType
CommonParameters
PhysicalHostId
PhysicalHostName
ResourceGroup
Size
SubFolderName
SubnetID
SubnetMask
SubnetName
Throughput
UseSeperateNetworkInterface
VirtualNetworkID
VirtualNetworkName
VMSize
VolumeType
CommonParameters
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       true (ByValue)

        Accept wildcard characters?  false
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                gp2

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation.