< Back

Export-RDPersonalVirtualDesktopAssignment

Thu Apr 04, 2019 5:41 am

NAME Export-RDPersonalVirtualDesktopAssignment



SYNOPSIS

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





SYNTAX

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





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.



Required? true

Position? 1

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ConnectionBroker [<String>]

Specifies the Remote Desktop Connection Broker (RDConnection 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.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Path <String>

Specifies the path and file name of an output file.



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, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS

System.Object







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.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294209

Get-RDPersonalVirtualDesktopAssignment

Import-RDPersonalVirtualDesktopAssignment

Remove-RDPersonalVirtualDesktopAssignment

Set-RDPersonalVirtualDesktopAssignment