Tests if a website exists.
Test-IisWebsite [-Name] <String> [<CommonParameters>]
Returns True
if a website with name Name
exists. False
if it doesn't.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String | The name of the website whose existence to check. | true | false |
Test-IisWebsite -Name 'Peanuts'
Returns True
if the Peanuts
website exists. False
if it doesn't.