Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Export-RDPersonalVirtualDesktopAssignment

Export-RDPersonalVirtualDesktopAssignment

remotedesktop.psm1

Synopsis

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

Syntax

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

Detailed Description

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

Parameters

-CollectionName <String>

Specifies the name of a personal virtual desktop collection.

Aliases

None

Required?

true

Position

1

Default value

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

-ConnectionBroker <String>

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.

Aliases

None

Required?

false

Position

named

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Path <String>

Specifies the path and file name of an output file.

Aliases

None

Required?

true

Position

named

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type

System.Object

Notes

None

Examples

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

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

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

Online Version
Get-RDPersonalVirtualDesktopAssignment
Import-RDPersonalVirtualDesktopAssignment
Remove-RDPersonalVirtualDesktopAssignment
Set-RDPersonalVirtualDesktopAssignment