編輯

共用方式為


Set-RDVirtualDesktopTemplateExportPath

Sets the export path for virtual desktop templates.

Syntax

Set-RDVirtualDesktopTemplateExportPath
   [[-ConnectionBroker] <String>]
   [-Path] <String>
   [<CommonParameters>]

Description

The Set-RDVirtualDesktopTemplateExportPath cmdlet sets the path that Remote Desktop Services uses to export virtual desktop templates for the virtual machine-based desktop deployment.

Examples

Example 1: Set the export path for virtual export templates

PS C:\> Set-RDVirtualDesktopTemplateExportPath -Path "\\rdsh-1\export"

This command sets the export path for virtual desktop templates to \\rdsh-1\export.

Parameters

-ConnectionBroker

Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for a remote desktop deployment. If you do not specify a value, the cmdlet uses the fully qualified domain name (FQDN) of the local computer.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Path

Specifies the path for exported virtual desktop templates.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Null