diff --git a/tools/UpdateModules.ps1 b/tools/UpdateModules.ps1 index 4907f0915fb0..cac0c8cd06dd 100644 --- a/tools/UpdateModules.ps1 +++ b/tools/UpdateModules.ps1 @@ -40,6 +40,10 @@ Import-Module "$PSScriptRoot\UpdateModules.psm1" #################################################> +# Constants (Scopes) +$NetCoreScopes = @('NetCore') +$AzureScopes = @('All', 'Latest', 'ServiceManagement', 'AzureStorage') +$StackScopes = @('All', 'Stack') # Begin Write-Host "Updating $Scope package (and its dependencies)" diff --git a/tools/UpdateModules.psm1 b/tools/UpdateModules.psm1 index ac5f1e89393f..d2b60a2ae1c6 100644 --- a/tools/UpdateModules.psm1 +++ b/tools/UpdateModules.psm1 @@ -17,11 +17,6 @@ #> $script:TemplateLocation = "$PSScriptRoot\AzureRM.Example.psm1" -# Scopes -$script:NetCoreScopes = @('NetCore') -$script:AzureScopes = @('All', 'Latest', 'ServiceManagement', 'AzureStorage') -$script:StackScopes = @('All', 'Stack') - # Specialty-Scopes used by cmdlets $script:AzureRMScopes = @('All', 'Latest') $script:StorageScopes = @('All', 'Latest', 'AzureStorage')