Remove-RDRemoteApp

Removes a RemoteApp program.

Syntax

Remove-RDRemoteApp
      [-CollectionName] <String>
      -Alias <String>
      [-ConnectionBroker <String>]
      [-Force]
      [-WhatIf]
      [-Confirm]
      [<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.

Examples

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.

Parameters

-Alias

Specifies the alias for a RemoteApp program to remove.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-CollectionName

Specifies the name of a virtual desktop collection or session collection.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ConnectionBroker

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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Null