Fixed issue in selecting storage account

This commit is contained in:
Shital Savekar 2018-05-15 23:59:45 -07:00
Родитель 063ddfbbd3
Коммит 4b2a5baeb5
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -142,6 +142,11 @@ elseif ($StorageAccount -eq "")
$StorageAccountName = $regionStorageMapping.AllRegions.$regionName.StandardStorage
Write-Host "Auto selecting storage account : $StorageAccountName as per your test region."
}
elseif ($StorageAccount -ne "")
{
$StorageAccountName = $StorageAccount.Trim()
Write-Host "Selecting custom storage account : $StorageAccountName as per your test region."
}
#if ($defaultDestinationStorageAccount -ne $StorageAccountName)
#{
# $OsVHD = "https://$defaultDestinationStorageAccount.blob.core.windows.net/vhds/$OsVHD"