Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-WebApplication

Last Updated: 2/14/2017

SYNOPSIS

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

SYNTAX

Get-WebApplication [-Site <String>] [[-Name] <String>] [<CommonParameters>]

DESCRIPTION

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

EXAMPLES

Example 1: Get the web applications associated with the default website

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

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

PARAMETERS

-Name

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

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Site

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

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

NOTES

ConvertTo-WebApplication

New-WebApplication

Remove-WebApplication

© 2017 Microsoft