File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,13 +44,7 @@ function New-AzSTenantOfferAndQuotas
4444 New-AzureRmResourceGroup - Name $Name - Location $Location - ErrorAction Stop
4545
4646 Write-Verbose " Creating plan..." - Verbose
47- if ((Get-Module AzureStack).Version -ge [System.Version ] " 1.2.9" )
48- {
49- $plan = New-AzureRMPlan - Name $Name - DisplayName $Name - ArmLocation $Location - ResourceGroup $Name - QuotaIds $Quotas
50- }
51- else {
52- $plan = New-AzureRMPlan - Name $Name - DisplayName $Name - ArmLocation $Location - ResourceGroup $Name - SubscriptionId $subscription - QuotaIds $Quotas
53- }
47+ $plan = New-AzureRMPlan - Name $Name - DisplayName $Name - ArmLocation $Location - ResourceGroup $Name - QuotaIds $Quotas
5448
5549 Write-Verbose " Creating public offer..." - Verbose
5650 $offer = New-AzureRMOffer - Name $Name - DisplayName $Name - State Public - BasePlanIds @ ($plan.Id ) - ArmLocation $Location - ResourceGroup $Name
You can’t perform that action at this time.
0 commit comments