Import-RDPersonalVirtualDesktopAssignment

Import-RDPersonalVirtualDesktopAssignment

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

Syntax

Parameter Set: Default
Import-RDPersonalVirtualDesktopAssignment [-CollectionName] <String> -Path <String> [-ConnectionBroker <String> ] [ <CommonParameters>]

Detailed Description

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

Parameters

-CollectionName<String>

Specifies the name of a personal virtual desktop collection.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ConnectionBroker<String>

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Path<String>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.Object

Examples

Import a personal virtual desktop assignment

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

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

Export-RDPersonalVirtualDesktopAssignment

Get-RDPersonalVirtualDesktopAssignment

Remove-RDPersonalVirtualDesktopAssignment

Set-RDPersonalVirtualDesktopAssignment