Partager via


Get-WebApplicationProxyApplication

Get-WebApplicationProxyApplication

Gets published web applications.

Syntaxe

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

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

Description détaillée

The Get-WebApplicationProxyApplication cmdlet gets objects that represent published web applications. You can specify the ID of an application, or specify the name of an application, including a name that includes the wildcard characters * or ?. If you do not specify name or ID, the cmdlet gets all the published applications. If more than one application is found, then the cmdlet outputs a list of the applications. If only one application is found, then the cmdlet displays properties of the application.

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 the GUID of a web application.

Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (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

FriendlyName

Obligatoire ?

false

Position ?

1

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByPropertyName)

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.

  • Microsoft.Management.Infrastructure.CimInstance#PublishedWebApp[]

    If the cmdlet finds more than one application, it displays a list of the applications. If the cmdlet gets a single application, it displays the properties of the application.

Exemples

Example 1: Get all published applications

This command all of the published applications, and displays information about them.

PS C:\> Get-WebApplicationProxyApplication

Example 2: Get an application by using an ID

This command gets the application that has the specified ID.

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

Example 3: Get an application by using a name

This command gets the application named ContosoApp.

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

Example 4: Get applications that have names that end in a specified string

This command gets applications that have names that end with the string Contoso.

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

Show the full details of a published application

This command shows the full details of applications that have names that end with the string Contoso.

PS C:\> Get-WebApplicationProxyApplication *Contoso | Format-List

Rubriques connexes

Add-WebApplicationProxyApplication

Remove-WebApplicationProxyApplication

Set-WebApplicationProxyApplication

Web Application Proxy Overview

Publishing Internal Applications using Web Application Proxy