Get-WebApplicationProxyApplication

Get-WebApplicationProxyApplication

Gets published web applications.

Syntax

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>]

Detailed Description

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.

Parameters

-AsJob

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-CimSession<CimSession[]>

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.

Aliases

Session

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ID<Guid>

Specifies the GUID of a web application.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

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

Aliases

FriendlyName

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ThrottleLimit<Int32>

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • 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.

Examples

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

Add-WebApplicationProxyApplication

Remove-WebApplicationProxyApplication

Set-WebApplicationProxyApplication

Web Application Proxy Overview

Publishing Internal Applications using Web Application Proxy