Get-RDPersonalSessionDesktopAssignment
Letzte Aktualisierung: Juni 2015
Betrifft: Windows 10, Windows Server Technical Preview
Get-RDPersonalSessionDesktopAssignment
Gets personal session desktop assignments.
Syntax
Parameter Set: GetByCollection
Get-RDPersonalSessionDesktopAssignment [-CollectionName] <String> [-ConnectionBroker <String> ] [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [ <CommonParameters>]
Parameter Set: GetByDesktop
Get-RDPersonalSessionDesktopAssignment [-CollectionName] <String> -Name <String> [-ConnectionBroker <String> ] [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [ <CommonParameters>]
Parameter Set: GetByUser
Get-RDPersonalSessionDesktopAssignment [-CollectionName] <String> -User <String> [-ConnectionBroker <String> ] [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [ <CommonParameters>]
Detaillierte Beschreibung
The Get-RDPersonalSessionDesktopAssignment cmdlet gets Remote Desktop personal session desktop assignments.
Parameter
-CollectionName<String>
Specifies the name of a personal virtual desktop collection.
Aliase |
none |
Erforderlich? |
true |
Position? |
1 |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
true(ByPropertyName) |
Platzhalterzeichen akzeptieren? |
false |
-ConnectionBroker<String>
Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for a Remote Desktop deployment. If you do not specify a value, the cmdlet uses the fully qualified domain name (FQDN) of the local computer.
Aliase |
none |
Erforderlich? |
false |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-InformationAction<ActionPreference>
Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:
-- SilentlyContinue
-- Stop
-- Continue
-- Inquire
-- Ignore
-- Suspend
Aliase |
infa |
Erforderlich? |
false |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-InformationVariable<String>
Specifies a variable in which to store an information event message.
Aliase |
iv |
Erforderlich? |
false |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-Name<String>
Specifies the name of the personal session desktop assignment to get.
Aliase |
none |
Erforderlich? |
true |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-User<String>
Specifies a user account in DOMAIN\user format.
Aliase |
none |
Erforderlich? |
true |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
<CommonParameters>
Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer und -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Eingaben
Der Eingabetyp ist der Typ der Objekte, die Sie per Piping an das Cmdlet übergeben können.
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
Beispiele
Example 1: Get assignments for a collection
This command gets the personal session desktop assignments from the collection named RDSessionHostPersonalDesktopCollection.
PS C:\> Get-RDPersonalSessionDesktopAssignment -CollectionName "RDSessionHostPersonalDesktopCollection"
Example 2: Get assignments for a user
This command gets the personal session desktop assignments for the specified user.
PS C:\> Get-RDPersonalSessionDesktopAssignment -CollectionName "Wrdsh_pd" -User "contoso\user"
Example 3: Get assignments for a server
This command gets the personal session desktop assignments from the server named RdshServer.contoso.com.
PS C:\> Get-RDPersonalSessionDesktopAssignment -CollectionName "Rdsh_pd" -Name "RdshServer.contoso.com"
Verwandte Themen
Export-RDPersonalSessionDesktopAssignment
Import-RDPersonalSessionDesktopAssignment