Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fixing display issues in subscription id
Browse files Browse the repository at this point in the history
  • Loading branch information
AyoOlubeko committed Jun 6, 2017
1 parent a062f79 commit 23b31a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Learning Modules/Common/SubscriptionManagement.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ function Initialize-Subscription
{
[int]$selectedRow = Read-Host "Enter the row number to select the subscription to use" -ErrorAction Stop

$context = Select-AzureRmSubscription -SubscriptionId $subscriptionList[($selectedRow - 1)] -ErrorAction Stop
Select-AzureRmSubscription -SubscriptionId $subscriptionList[($selectedRow - 1)] -ErrorAction Stop > $null

Write-Output "Subscription Id '$($subscriptionList[($selectedRow - 1)])' selected."
Write-Output "Subscription Id '$($subscriptionList[($selectedRow - 1)].Id)' selected."
}
catch
{
Expand Down

0 comments on commit 23b31a8

Please sign in to comment.