Fix: support for virtual directories in applications
This commit is contained in:
parent
7ca42c0bc0
commit
c893f30b2a
1 changed files with 5 additions and 1 deletions
|
@ -66,7 +66,11 @@ $directory_path = if($application) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Directory info
|
# 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 {
|
try {
|
||||||
# Add directory
|
# Add directory
|
||||||
|
|
Loading…
Reference in a new issue