CheckIfWebApplicationExists [-webSite] <String> [-appName] <String>
Checks if a web application exists under a website.
if(CheckIfWebApplicationExists -webSite "MySite" -appName "SubApp") { Write-Host "WebApp exists" }