< Back

Remove-RDRemoteApp

Thu Apr 04, 2019 5:42 am

NAME Remove-RDRemoteApp



SYNOPSIS

Removes a RemoteApp program.





SYNTAX

Remove-RDRemoteApp [-CollectionName] <String> [-ConnectionBroker <String>] [-Force] -Alias <String> [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Remove-RDRemoteApp cmdlet removes a Windows Server 2012 RemoteApp program from a Remote Desktop deployment.



RemoteApp allows Remote Desktop Services (RDS) to run a program remotely that appears as if it runs locally on a client computer. A RemoteApp

program runs in its own resizable window and has its own entry on the taskbar.



When you remove a RemoteApp program, users can no longer use that program as part of a Remote Desktop deployment. This cmdlet does not delete the

program executable.





PARAMETERS

-Alias <String>

Specifies the alias for a RemoteApp program to remove.



Required? true

Position? named

Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-CollectionName <String>

Specifies the name of a virtual desktop collection or session 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 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



-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

Null







Example 1: Remove a RemoteApp program



PS C:\\> Remove-RDRemoteApp -CollectionName "Session Collection" -Alias "Notepad"



This command removes a RemoteApp program that has the alias Notepad from the collection named Session Collection.







RELATED LINKS

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

Get-RDRemoteApp

New-RDRemoteApp

Set-RDRemoteApp