Fix: support for virtual directories in applications

This commit is contained in:
Henrik Wallström 2015-10-19 16:29:43 +02:00
parent 7ca42c0bc0
commit c893f30b2a

View file

@ -66,7 +66,11 @@ $directory_path = if($application) {
}
# Directory info
$directory = Get-WebVirtualDirectory -Site $site -Name $name
$directory = if($application) {
Get-WebVirtualDirectory -Site $site -Name $name -Application $application
} else {
Get-WebVirtualDirectory -Site $site -Name $name
}
try {
# Add directory