Gets details about a website.
Get-IisWebsite [-SiteName] <String> [<CommonParameters>]
Returns an object containing the name, ID, bindings, and state of a website:
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
SiteName | String | The name of the site to get. | true | false |
Get-IisWebsite -SiteName 'WebsiteName'
Returns the details for the site named WebsiteName
.