CheckIfVirtualDirectoryExists
[-webSite] <String>
[-virtualDir] <String>
Checks if a virtual directory exists under a website.
if(CheckIfVirtualDirectoryExists -webSite "MySite" -virtualDir "SubDir")
{
Write-Host "Virtual directory exists"
}