Skip to content

Instantly share code, notes, and snippets.

Import-Module WebAdministration
$port = 80
$ssl = $false
$wa = Get-Website | Where {$_.Name -eq $OctopusWebSiteName}
$ap = Get-WebAppPoolState | Where {$_.Name -eq $appPoolName}
if($wa -eq $null)