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

Commit

Permalink
Bug fixes in subscription module to return correct subscription id.
Browse files Browse the repository at this point in the history
  • Loading branch information
AyoOlubeko committed Jun 6, 2017
1 parent 1402484 commit a062f79
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 @@ -94,7 +94,7 @@ function Initialize-Subscription
function Get-SubscriptionId
{
$Azurecontext = Get-AzureRmContext
$AzureModuleVersion = Get-Module AzureRM -list
$AzureModuleVersion = Get-Module AzureRM.Resources -list

# Check PowerShell version to accomodate breaking change in AzureRM modules greater than 4.0
if ($AzureModuleVersion.Version.Major -ge 4)
Expand Down

0 comments on commit a062f79

Please sign in to comment.