CheckIfWebApplicationExists


CheckIfWebApplicationExists
    [-webSite] <String>
    [-appName] <String>

Description

Checks if a web application exists under a website.

Example


if(CheckIfWebApplicationExists -webSite "MySite" -appName "SubApp")
{
    Write-Host "WebApp exists"
}