From 4b2a5baeb5ab2394e3282a5c9b8d9e6adfdd1d38 Mon Sep 17 00:00:00 2001 From: Shital Savekar Date: Tue, 15 May 2018 23:59:45 -0700 Subject: [PATCH] Fixed issue in selecting storage account --- RunAzureTests.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RunAzureTests.ps1 b/RunAzureTests.ps1 index 378221d..71d0012 100644 --- a/RunAzureTests.ps1 +++ b/RunAzureTests.ps1 @@ -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"