Export-RDPersonal Virtual Desktop Assignment

Exports the current associations between users and personal virtual desktops to a file.

Syntax

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

Description

The Export-RDPersonalVirtualDesktopAssignment cmdlet exports the current associations between users and personal virtual desktops to a text file.

Examples

Example1: Create a delimited text file of the current associations between users and personal virtual desktops

PS C:\> Export-RDPersonalVirtualDesktopAssignment -Path "c:\reports\VirtDeskAssignReport" -ConnectionBroker "Rdcb.Contoso.com"

This command creates a text file in the path named c:\reports\VirtDeskAssignReport by using the RD Connection Broker server named Rdcb.Contoso.com.

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 an output file.

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 this 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