Condividi tramite


Remove-WebApplicationProxyApplication

Remove-WebApplicationProxyApplication

Removes web applications published in Proxy applicazione Web.

Sintassi

Parameter Set: ID
Remove-WebApplicationProxyApplication [-ID] <Guid[]> [-AsJob] [-CimSession <CimSession[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: Name
Remove-WebApplicationProxyApplication [-Name] <String> [-AsJob] [-CimSession <CimSession[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Descrizione dettagliata

The Remove-WebApplicationProxyApplication cmdlet removes web applications published in Proxy applicazione Web. Specify web applications by name or by ID. If you specify a string that contains wildcard characters, * and ?, as the name, the cmdlet removes all the web applications that match that string.

When you remove a web application, Proxy applicazione Web drops any current connections for that application. The cmdlet does not uninstall the application from its backend server.

Parametri

-AsJob

Alias

nessuno

Obbligatorio?

false

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-CimSession<CimSession[]>

Esegue il cmdlet in una sessione remota o in un computer remoto. Immettere un nome di computer o un oggetto di sessione, ad esempio l'output del cmdlet New-CimSession o Get-CimSession. Il valore predefinito è la sessione corrente nel computer locale.

Alias

Session

Obbligatorio?

false

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-ID<Guid[]>

Specifies an array of GUIDs of web applications.

Alias

ApplicationID

Obbligatorio?

true

Posizione?

1

Valore predefinito

nessuno

Accetta input da pipeline?

True (ByValue, ByPropertyName)

Accetta caratteri jolly?

false

-Name<String>

Specifies a friendly name for the published web application. You can use wildcard characters.

Alias

nessuno

Obbligatorio?

true

Posizione?

1

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-ThrottleLimit<Int32>

Specifica il numero massimo di operazioni simultanee che è possibile stabilire per eseguire il cmdlet. Se il parametro viene omesso o si specifica il valore 0, Windows PowerShell® calcola un valore limite ottimale per il cmdlet basato sul numero di cmdlet CIM in esecuzione nel computer. Questo valore limite si applica solo al cmdlet corrente, non alla sessione o al computer.

Alias

nessuno

Obbligatorio?

false

Posizione?

named

Valore predefinito

nessuno

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

<CommonParameters>

Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere   about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Input

Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.

Output

Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.

Esempi

Example 1: Remove all published applications

This command removes all of the published web applications.

PS C:\> Remove-WebApplicationProxyApplication

Example 2: Remove an application by using an ID

This command removes the application that has the specified ID.

PS C:\> Remove-WebApplicationProxyApplication -ID 616b2e81-bada-4abc-996a-b0c806eb6f45

Example 3: Remove an application by using a name

This command removes the application named ContosoApp.

PS C:\> Remove-WebApplicationProxyApplication -Name "ContosoApp"

Example 4: Remove applications that have names that contain a specified string

This command removes applications that have names that contain the string Contoso.

PS C:\> Remove-WebApplicationProxyApplication -Name "*Contoso*"

Argomenti correlati

Add-WebApplicationProxyApplication

Get-WebApplicationProxyApplication

Set-WebApplicationProxyApplication

Web Application Proxy Overview

Publishing Internal Applications using Web Application