Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Get-WebApplication

Windows Server 2012 R2 and Windows 8.1

Get-WebApplication

Gets the web applications associated with a specific site or with a specified name.

Syntax

Parameter Set: Default
Get-WebApplication [[-Name] <String> ] [-Site <String> ] [ <CommonParameters>]




Detailed Description

The Get-WebApplication cmdlet gets the web applications associated with a specific site or with a specified name.

Parameters

-Name<String>

Specifies the name of the web application for which information is returned.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-Site<String>

Specifies the name of the site for which this cmdlet returns application information.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (http://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.

Examples

Example -------------- EXAMPLE Example 1: Gets the Web web applications associated with the Default default Web websSite --------------web default webs

This command gets the web applications associated with the default website.


IIS:\>Get-WebApplication -Site "Default Web Site"

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft