Export-RDPersonalVirtualDesktopAssignment
Export-RDPersonalVirtualDesktopAssignment
Exports the current associations between users and personal virtual desktops to a file.
Syntax
Parameter Set: Default
Export-RDPersonalVirtualDesktopAssignment [-CollectionName] <String> -Path <String> [-ConnectionBroker <String> ] [ <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 |
none |
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 |
none |
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 |
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
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"
Related topics
Get-RDPersonalVirtualDesktopAssignment
Import-RDPersonalVirtualDesktopAssignment