< Back

Remove-RDPersonalSessionDesktopAssignment

Thu Apr 04, 2019 5:42 am

NAME Remove-RDPersonalSessionDesktopAssignment



SYNOPSIS

Removes the association between a personal session desktop assignment and a user.





SYNTAX

Remove-RDPersonalSessionDesktopAssignment [-CollectionName] <String> [-User] <String> [-ConnectionBroker <String>] [-Force] [-Confirm] [-WhatIf]

[<CommonParameters>]



Remove-RDPersonalSessionDesktopAssignment [-CollectionName] <String> [-Name] <String> [-ConnectionBroker <String>] [-Force] [-Confirm] [-WhatIf]

[<CommonParameters>]





DESCRIPTION

The Remove-RDPersonalSessionDesktopAssignment cmdlet removes the association between a personal session desktop assignment and a user. This

operation makes the personal session desktop that you remove available for use.





PARAMETERS

-CollectionName <String>

Specifies the name of a personal session 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 (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.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

Specifies the name of the personal session desktop assignment to remove.



Required? true

Position? 2

Default value none

Accept pipeline input? true(ByPropertyName)

Accept wildcard characters? false



-User <String>

Specifies a user account in DOMAIN\\user format.



Required? true

Position? 2

Default value none

Accept pipeline input? true(ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value false

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value false

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











1:















RELATED LINKS

Get-RDPersonalSessionDesktopAssignment

Export-RDPersonalSessionDesktopAssignment

Import-RDPersonalSessionDesktopAssignment

Set-RDPersonalSessionDesktopAssignment