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

Commit

Permalink
Modifying select-subscription command to select correct subscription.
Browse files Browse the repository at this point in the history
  • Loading branch information
AyoOlubeko committed Jun 7, 2017
1 parent 23b31a8 commit 051b10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Learning Modules/Common/SubscriptionManagement.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function Initialize-Subscription
}
elseif($subscriptionList.Length -eq 1)
{
Select-AzureRmSubscription -Id $subscriptionList[0].SubscriptionId > $null
Select-AzureRmSubscription -Id $subscriptionList[0].Id > $null
}
elseif($subscriptionList.Length -gt 1)
{
Expand Down

0 comments on commit 051b10b

Please sign in to comment.