Get-Web
Application
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.
Optional Parameters
Specifies the name of the web application for which information is returned.
Type: | String |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Specifies the name of the site for which this cmdlet returns application information.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |