Compartilhar via


Remove-RDRemoteApp

Aplica-se a: Windows 10, Windows Server Technical Preview

Remove-RDRemoteApp

Removes a RemoteApp program.

Sintaxe

Parameter Set: Default
Remove-RDRemoteApp [-CollectionName] <String> -Alias <String> [-ConnectionBroker <String> ] [-Force] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]

Descrição detalhada

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.

Parâmetros

-Alias<String>

Specifies the alias for a RemoteApp program to remove.

Aliases

none

Obrigatório?

true

Posição?

named

Valor padrão

none

Aceitar entrada de pipeline?

True (ByPropertyName)

Aceitar caracteres curinga?

false

-CollectionName<String>

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

Aliases

none

Obrigatório?

true

Posição?

1

Valor padrão

none

Aceitar entrada de pipeline?

True (ByPropertyName)

Aceitar caracteres curinga?

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.

Aliases

none

Obrigatório?

false

Posição?

named

Valor padrão

none

Aceitar entrada de pipeline?

false

Aceitar caracteres curinga?

false

-Force

Força a execução do comando sem solicitar a confirmação do usuário.

Aliases

none

Obrigatório?

false

Posição?

named

Valor padrão

none

Aceitar entrada de pipeline?

false

Aceitar caracteres curinga?

false

-InformationAction<System.Management.Automation.ActionPreference>

Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:

-- SilentlyContinue
-- Stop
-- Continue
-- Inquire
-- Ignore
-- Suspend

Aliases

infa

Obrigatório?

false

Posição?

named

Valor padrão

none

Aceitar entrada de pipeline?

false

Aceitar caracteres curinga?

false

-InformationVariable<System.String>

Specifies a variable in which to store an information event message.

Aliases

iv

Obrigatório?

false

Posição?

named

Valor padrão

none

Aceitar entrada de pipeline?

false

Aceitar caracteres curinga?

false

<CommonParameters>

Esse cmdlet oferece suporte aos parâmetros comuns: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Para obter mais informações, consulte  about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

O tipo de entrada é o tipo dos objetos que você pode redirecionar para o cmdlet.

Saídas

O tipo de saída é o tipo de objeto que o cmdlet emite.

  • Null

Exemplos

Example 1: Remove a RemoteApp program

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

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

Tópicos relacionados

Get-RDRemoteApp

New-RDRemoteApp

Set-RDRemoteApp