Import-RDPersonal Virtual Desktop Assignment

Imports associations between user accounts and personal virtual desktops from a text file.

Syntax

Import-RDPersonalVirtualDesktopAssignment
      [-CollectionName] <String>
      -Path <String>
      [-ConnectionBroker <String>]
      [<CommonParameters>]

Description

The Import-RDPersonalVirtualDesktopAssignment cmdlet imports associations between user accounts and personal virtual desktops from a text file.

Examples

1: Import a personal virtual desktop assignment

PS C:\>Import-RDPersonalVirtualDesktopAssignment -CollectionName "Virtual Desktop Collection" -Path "C:\Import\VirtDeskAssignReport"

This command imports a personal virtual desktop assignment from the file named C:\Import\VirtDeskAssignReport.

Required Parameters

-CollectionName

Specifies the name of a personal virtual desktop collection.

Type: String
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Path

Specifies the path and file name of a file to import.

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

Optional Parameters

-ConnectionBroker

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

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

Outputs

System.Object