Edit

Share via


Get-WebApplicationProxyApplication

Gets published web applications.

Syntax

ID

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

Name

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

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.

Examples

Example 1: Get all published applications

PS C:\> Get-WebApplicationProxyApplication

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

Example 2: Get an application by using an ID

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

This command gets the application that has the specified ID.

Example 3: Get an application by using a name

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

This command gets the application named ContosoApp.

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

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

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

Example 5: Show the full details of a published application

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

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

Parameters

-AsJob

Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

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

Parameter properties

Type:

CimSession[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:Session

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ID

Specifies the GUID of a web application.

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ID
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Name

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:FriendlyName

Parameter sets

Name
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-ThrottleLimit

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.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Guid

String

Outputs

CimInstance

CimInstance

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.