Remove-WebApplicationProxyApplication
Remove-WebApplicationProxyApplication
Removes web applications published in Proxy d’application web.
Syntaxe
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>]
Description détaillée
The Remove-WebApplicationProxyApplication cmdlet removes web applications published in Proxy d’application 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 d’application web drops any current connections for that application. The cmdlet does not uninstall the application from its backend server.
Paramètres
-AsJob
Alias |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-CimSession<CimSession[]>
Exécute l’applet de commande dans une session à distance ou sur un ordinateur distant. Entrez un nom d’ordinateur ou un objet de session, comme la sortie d’une applet de commande New-CimSession ou Get-CimSession. La valeur par défaut est la session active sur l’ordinateur local.
Alias |
Session |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-ID<Guid[]>
Specifies an array of GUIDs of web applications.
Alias |
ApplicationID |
Obligatoire ? |
true |
Position ? |
1 |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
True (ByValue, ByPropertyName) |
Accepter les caractères génériques ? |
false |
-Name<String>
Specifies a friendly name for the published web application. You can use wildcard characters.
Alias |
none |
Obligatoire ? |
true |
Position ? |
1 |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-ThrottleLimit<Int32>
Spécifie le nombre maximal d’opérations simultanées qui peuvent être établies pour exécuter cette applet de commande. Si ce paramètre est omis ou si la valeur 0
est entrée, Windows PowerShell ® calcule une limitation optimale pour l’applet de commande en fonction du nombre d’applets de commande CIM qui s’exécutent sur l’ordinateur. La limitation s’applique seulement à l’applet de commande actuelle, et non pas à la session ni à l’ordinateur.
Alias |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.
Sorties
Le type de sortie est le type des objets émis par l’applet de commande.
Exemples
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*"
Rubriques connexes
Add-WebApplicationProxyApplication
Get-WebApplicationProxyApplication
Set-WebApplicationProxyApplication