Gets details about a website.
Get-IisWebsite [-SiteName] <String> [<CommonParameters>]
Returns a Microsoft.Web.Administration.Site object representing the website.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
SiteName | String | The name of the site to get. | true | false |
Microsoft.Web.Administration.Site.
Get-IisWebsite -SiteName 'WebsiteName'
Returns the details for the site named WebsiteName
.