Remove-WebApplicationProxyApplication
Remove-WebApplicationProxyApplication
Removes web applications published in Webanwendungsproxy.
Syntax
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>]
Detaillierte Beschreibung
The Remove-WebApplicationProxyApplication cmdlet removes web applications published in Webanwendungsproxy. 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, Webanwendungsproxy drops any current connections for that application. The cmdlet does not uninstall the application from its backend server.
Parameter
-AsJob
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-CimSession<CimSession[]>
Führt das Cmdlet in einer Remotesitzung oder auf einem Remotecomputer aus. Geben Sie einen Computernamen oder ein Sitzungsobjekt ein, z. B. die Ausgabe eines Cmdlets New-CimSession oder Get-CimSession. Der Standardwert ist die aktuelle Sitzung auf dem lokalen Computer.
Aliasse |
Session |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-ID<Guid[]>
Specifies an array of GUIDs of web applications.
Aliasse |
ApplicationID |
Erforderlich? |
true |
Position? |
1 |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
True (ByValue, ByPropertyName) |
Platzhalterzeichen akzeptieren? |
false |
-Name<String>
Specifies a friendly name for the published web application. You can use wildcard characters.
Aliasse |
Keiner |
Erforderlich? |
true |
Position? |
1 |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-ThrottleLimit<Int32>
Gibt die maximale Anzahl von gleichzeitigen Vorgängen an, die zum Ausführen dieses Cmdlets eingerichtet werden können. Wenn dieser Parameter ausgelassen oder der Wert 0
eingegeben wird, berechnet Windows PowerShell® einen optimalen Drosselungsgrenzwert für das Cmdlet basierend auf der Anzahl der CIM-Cmdlets, die auf dem Computer ausgeführt werden. Die Drosselungsgrenze gilt nur für das aktuelle Cmdlet und nicht für die Sitzung oder den Computer.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
<CommonParameters>
Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Eingaben
Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
Beispiele
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*"
Verwandte Themen
Add-WebApplicationProxyApplication
Get-WebApplicationProxyApplication
Set-WebApplicationProxyApplication