From f7613222f5a713e694f71afdab2f48ebe5f1176c Mon Sep 17 00:00:00 2001 From: Beisi Zhou Date: Wed, 26 May 2021 11:18:29 +0800 Subject: [PATCH] AzPreview use latest Az.Accounts version --- tools/AzPreview/AzPreview.psd1 | 238 ++++++++++++++++----------------- tools/RunVersionController.ps1 | 9 +- 2 files changed, 126 insertions(+), 121 deletions(-) diff --git a/tools/AzPreview/AzPreview.psd1 b/tools/AzPreview/AzPreview.psd1 index 8859249fe1bc..c2dc71b644c7 100644 --- a/tools/AzPreview/AzPreview.psd1 +++ b/tools/AzPreview/AzPreview.psd1 @@ -52,125 +52,125 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; RequiredVersion = '2.3.0'; }, - @{ModuleName = 'Az.ADDomainServices'; RequiredVersion = '0.1.0'; }, - @{ModuleName = 'Az.Advisor'; RequiredVersion = '1.1.1'; }, - @{ModuleName = 'Az.Aks'; RequiredVersion = '2.1.0'; }, - @{ModuleName = 'Az.AlertsManagement'; RequiredVersion = '0.2.0'; }, - @{ModuleName = 'Az.AnalysisServices'; RequiredVersion = '1.1.4'; }, - @{ModuleName = 'Az.ApiManagement'; RequiredVersion = '2.2.0'; }, - @{ModuleName = 'Az.AppConfiguration'; RequiredVersion = '1.0.0'; }, - @{ModuleName = 'Az.ApplicationInsights'; RequiredVersion = '1.1.0'; }, - @{ModuleName = 'Az.Attestation'; RequiredVersion = '0.1.8'; }, - @{ModuleName = 'Az.Automation'; RequiredVersion = '1.7.0'; }, - @{ModuleName = 'Az.Batch'; RequiredVersion = '3.1.0'; }, - @{ModuleName = 'Az.Billing'; RequiredVersion = '2.0.0'; }, - @{ModuleName = 'Az.Blockchain'; RequiredVersion = '0.2.0'; }, - @{ModuleName = 'Az.Blueprint'; RequiredVersion = '0.3.0'; }, - @{ModuleName = 'Az.BotService'; RequiredVersion = '0.3.0'; }, - @{ModuleName = 'Az.Cdn'; RequiredVersion = '1.7.0'; }, - @{ModuleName = 'Az.CloudService'; RequiredVersion = '0.3.0'; }, - @{ModuleName = 'Az.CognitiveServices'; RequiredVersion = '1.8.0'; }, - @{ModuleName = 'Az.Communication'; RequiredVersion = '0.1.0'; }, - @{ModuleName = 'Az.Compute'; RequiredVersion = '4.13.0'; }, - @{ModuleName = 'Az.Confluent'; RequiredVersion = '0.1.0'; }, - @{ModuleName = 'Az.ConnectedKubernetes'; RequiredVersion = '0.2.0'; }, - @{ModuleName = 'Az.ConnectedMachine'; RequiredVersion = '0.2.0'; }, - @{ModuleName = 'Az.ContainerInstance'; RequiredVersion = '2.0.0'; }, - @{ModuleName = 'Az.ContainerRegistry'; RequiredVersion = '2.2.3'; }, - @{ModuleName = 'Az.CosmosDB'; RequiredVersion = '1.2.0'; }, - @{ModuleName = 'Az.CostManagement'; RequiredVersion = '0.2.0'; }, - @{ModuleName = 'Az.CustomProviders'; RequiredVersion = '0.1.0'; }, - @{ModuleName = 'Az.DataBox'; RequiredVersion = '0.1.1'; }, - @{ModuleName = 'Az.DataBoxEdge'; RequiredVersion = '1.1.0'; }, - @{ModuleName = 'Az.Databricks'; RequiredVersion = '1.1.0'; }, - @{ModuleName = 'Az.DataFactory'; RequiredVersion = '1.12.0'; }, - @{ModuleName = 'Az.DataLakeAnalytics'; RequiredVersion = '1.0.2'; }, - @{ModuleName = 'Az.DataLakeStore'; RequiredVersion = '1.3.0'; }, - @{ModuleName = 'Az.DataMigration'; RequiredVersion = '0.7.4'; }, - @{ModuleName = 'Az.DataProtection'; RequiredVersion = '0.2.0'; }, - @{ModuleName = 'Az.DataShare'; RequiredVersion = '1.0.0'; }, - @{ModuleName = 'Az.DedicatedHsm'; RequiredVersion = '0.2.0'; }, - @{ModuleName = 'Az.DeploymentManager'; RequiredVersion = '1.1.0'; }, - @{ModuleName = 'Az.DesktopVirtualization'; RequiredVersion = '3.0.0'; }, - @{ModuleName = 'Az.DeviceProvisioningServices'; RequiredVersion = '0.10.0'; }, - @{ModuleName = 'Az.DevSpaces'; RequiredVersion = '0.7.3'; }, - @{ModuleName = 'Az.DevTestLabs'; RequiredVersion = '1.0.2'; }, - @{ModuleName = 'Az.DigitalTwins'; RequiredVersion = '0.1.0'; }, - @{ModuleName = 'Az.Dns'; RequiredVersion = '1.1.2'; }, - @{ModuleName = 'Az.EventGrid'; RequiredVersion = '1.3.0'; }, - @{ModuleName = 'Az.EventHub'; RequiredVersion = '1.7.2'; }, - @{ModuleName = 'Az.FrontDoor'; RequiredVersion = '1.8.0'; }, - @{ModuleName = 'Az.Functions'; RequiredVersion = '3.0.0'; }, - @{ModuleName = 'Az.GuestConfiguration'; RequiredVersion = '0.10.8'; }, - @{ModuleName = 'Az.HanaOnAzure'; RequiredVersion = '0.3.0'; }, - @{ModuleName = 'Az.HDInsight'; RequiredVersion = '4.2.1'; }, - @{ModuleName = 'Az.HealthBot'; RequiredVersion = '0.1.0'; }, - @{ModuleName = 'Az.HealthcareApis'; RequiredVersion = '1.3.1'; }, - @{ModuleName = 'Az.HPCCache'; RequiredVersion = '0.1.1'; }, - @{ModuleName = 'Az.ImageBuilder'; RequiredVersion = '0.2.0'; }, - @{ModuleName = 'Az.ImportExport'; RequiredVersion = '0.1.0'; }, - @{ModuleName = 'Az.IotCentral'; RequiredVersion = '0.9.0'; }, - @{ModuleName = 'Az.IotHub'; RequiredVersion = '2.7.3'; }, - @{ModuleName = 'Az.KeyVault'; RequiredVersion = '3.4.4'; }, - @{ModuleName = 'Az.KubernetesConfiguration'; RequiredVersion = '0.4.0'; }, - @{ModuleName = 'Az.Kusto'; RequiredVersion = '2.0.0'; }, - @{ModuleName = 'Az.LogicApp'; RequiredVersion = '1.5.0'; }, - @{ModuleName = 'Az.MachineLearning'; RequiredVersion = '1.1.3'; }, - @{ModuleName = 'Az.Maintenance'; RequiredVersion = '1.1.1'; }, - @{ModuleName = 'Az.ManagedServiceIdentity'; RequiredVersion = '0.7.3'; }, - @{ModuleName = 'Az.ManagedServices'; RequiredVersion = '2.0.0'; }, - @{ModuleName = 'Az.ManagementPartner'; RequiredVersion = '0.7.2'; }, - @{ModuleName = 'Az.Maps'; RequiredVersion = '0.7.3'; }, - @{ModuleName = 'Az.MariaDb'; RequiredVersion = '0.2.0'; }, - @{ModuleName = 'Az.Marketplace'; RequiredVersion = '0.2.0'; }, - @{ModuleName = 'Az.MarketplaceOrdering'; RequiredVersion = '1.0.2'; }, - @{ModuleName = 'Az.Media'; RequiredVersion = '1.1.1'; }, - @{ModuleName = 'Az.Migrate'; RequiredVersion = '1.0.2'; }, - @{ModuleName = 'Az.MixedReality'; RequiredVersion = '0.1.4'; }, - @{ModuleName = 'Az.Monitor'; RequiredVersion = '2.5.0'; }, - @{ModuleName = 'Az.MonitoringSolutions'; RequiredVersion = '0.1.0'; }, - @{ModuleName = 'Az.MySql'; RequiredVersion = '0.6.0'; }, - @{ModuleName = 'Az.NetAppFiles'; RequiredVersion = '0.5.0'; }, - @{ModuleName = 'Az.Network'; RequiredVersion = '4.8.0'; }, - @{ModuleName = 'Az.NotificationHubs'; RequiredVersion = '1.1.1'; }, - @{ModuleName = 'Az.OperationalInsights'; RequiredVersion = '2.3.0'; }, - @{ModuleName = 'Az.Peering'; RequiredVersion = '0.3.0'; }, - @{ModuleName = 'Az.PolicyInsights'; RequiredVersion = '1.4.1'; }, - @{ModuleName = 'Az.Portal'; RequiredVersion = '0.1.0'; }, - @{ModuleName = 'Az.PostgreSql'; RequiredVersion = '0.5.0'; }, - @{ModuleName = 'Az.PowerBIEmbedded'; RequiredVersion = '1.1.2'; }, - @{ModuleName = 'Az.PrivateDns'; RequiredVersion = '1.0.3'; }, - @{ModuleName = 'Az.ProviderHub'; RequiredVersion = '0.1.0'; }, - @{ModuleName = 'Az.RecoveryServices'; RequiredVersion = '4.1.0'; }, - @{ModuleName = 'Az.RedisCache'; RequiredVersion = '1.4.0'; }, - @{ModuleName = 'Az.RedisEnterpriseCache'; RequiredVersion = '1.0.0'; }, - @{ModuleName = 'Az.Relay'; RequiredVersion = '1.0.3'; }, - @{ModuleName = 'Az.Reservations'; RequiredVersion = '0.9.0'; }, - @{ModuleName = 'Az.ResourceGraph'; RequiredVersion = '0.10.0'; }, - @{ModuleName = 'Az.ResourceMover'; RequiredVersion = '1.0.0'; }, - @{ModuleName = 'Az.Resources'; RequiredVersion = '4.1.0'; }, - @{ModuleName = 'Az.Search'; RequiredVersion = '0.8.0'; }, - @{ModuleName = 'Az.Security'; RequiredVersion = '0.11.0'; }, - @{ModuleName = 'Az.SecurityInsights'; RequiredVersion = '1.0.0'; }, - @{ModuleName = 'Az.ServiceBus'; RequiredVersion = '1.5.0'; }, - @{ModuleName = 'Az.ServiceFabric'; RequiredVersion = '3.0.0'; }, - @{ModuleName = 'Az.SignalR'; RequiredVersion = '1.2.0'; }, - @{ModuleName = 'Az.SpringCloud'; RequiredVersion = '0.2.0'; }, - @{ModuleName = 'Az.Sql'; RequiredVersion = '3.1.0'; }, - @{ModuleName = 'Az.SqlVirtualMachine'; RequiredVersion = '1.1.0'; }, - @{ModuleName = 'Az.StackEdge'; RequiredVersion = '0.1.0'; }, - @{ModuleName = 'Az.StackHCI'; RequiredVersion = '0.7.0'; }, - @{ModuleName = 'Az.Storage'; RequiredVersion = '3.7.0'; }, - @{ModuleName = 'Az.StorageSync'; RequiredVersion = '1.5.0'; }, - @{ModuleName = 'Az.StreamAnalytics'; RequiredVersion = '2.0.0'; }, - @{ModuleName = 'Az.Subscription'; RequiredVersion = '0.8.0'; }, - @{ModuleName = 'Az.Support'; RequiredVersion = '1.0.0'; }, - @{ModuleName = 'Az.Synapse'; RequiredVersion = '0.12.0'; }, - @{ModuleName = 'Az.TimeSeriesInsights'; RequiredVersion = '0.2.0'; }, - @{ModuleName = 'Az.TrafficManager'; RequiredVersion = '1.0.4'; }, - @{ModuleName = 'Az.VMware'; RequiredVersion = '0.2.0'; }, - @{ModuleName = 'Az.Websites'; RequiredVersion = '2.6.0'; }, +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.3.0'; }, + @{ModuleName = 'Az.ADDomainServices'; RequiredVersion = '0.1.0'; }, + @{ModuleName = 'Az.Advisor'; RequiredVersion = '1.1.1'; }, + @{ModuleName = 'Az.Aks'; RequiredVersion = '2.1.0'; }, + @{ModuleName = 'Az.AlertsManagement'; RequiredVersion = '0.2.0'; }, + @{ModuleName = 'Az.AnalysisServices'; RequiredVersion = '1.1.4'; }, + @{ModuleName = 'Az.ApiManagement'; RequiredVersion = '2.2.0'; }, + @{ModuleName = 'Az.AppConfiguration'; RequiredVersion = '1.0.0'; }, + @{ModuleName = 'Az.ApplicationInsights'; RequiredVersion = '1.1.0'; }, + @{ModuleName = 'Az.Attestation'; RequiredVersion = '0.1.8'; }, + @{ModuleName = 'Az.Automation'; RequiredVersion = '1.7.0'; }, + @{ModuleName = 'Az.Batch'; RequiredVersion = '3.1.0'; }, + @{ModuleName = 'Az.Billing'; RequiredVersion = '2.0.0'; }, + @{ModuleName = 'Az.Blockchain'; RequiredVersion = '0.2.0'; }, + @{ModuleName = 'Az.Blueprint'; RequiredVersion = '0.3.0'; }, + @{ModuleName = 'Az.BotService'; RequiredVersion = '0.3.0'; }, + @{ModuleName = 'Az.Cdn'; RequiredVersion = '1.7.0'; }, + @{ModuleName = 'Az.CloudService'; RequiredVersion = '0.3.0'; }, + @{ModuleName = 'Az.CognitiveServices'; RequiredVersion = '1.8.0'; }, + @{ModuleName = 'Az.Communication'; RequiredVersion = '0.1.0'; }, + @{ModuleName = 'Az.Compute'; RequiredVersion = '4.13.0'; }, + @{ModuleName = 'Az.Confluent'; RequiredVersion = '0.1.0'; }, + @{ModuleName = 'Az.ConnectedKubernetes'; RequiredVersion = '0.2.0'; }, + @{ModuleName = 'Az.ConnectedMachine'; RequiredVersion = '0.2.0'; }, + @{ModuleName = 'Az.ContainerInstance'; RequiredVersion = '2.0.0'; }, + @{ModuleName = 'Az.ContainerRegistry'; RequiredVersion = '2.2.3'; }, + @{ModuleName = 'Az.CosmosDB'; RequiredVersion = '1.2.0'; }, + @{ModuleName = 'Az.CostManagement'; RequiredVersion = '0.2.0'; }, + @{ModuleName = 'Az.CustomProviders'; RequiredVersion = '0.1.0'; }, + @{ModuleName = 'Az.DataBox'; RequiredVersion = '0.1.1'; }, + @{ModuleName = 'Az.DataBoxEdge'; RequiredVersion = '1.1.0'; }, + @{ModuleName = 'Az.Databricks'; RequiredVersion = '1.1.0'; }, + @{ModuleName = 'Az.DataFactory'; RequiredVersion = '1.12.0'; }, + @{ModuleName = 'Az.DataLakeAnalytics'; RequiredVersion = '1.0.2'; }, + @{ModuleName = 'Az.DataLakeStore'; RequiredVersion = '1.3.0'; }, + @{ModuleName = 'Az.DataMigration'; RequiredVersion = '0.7.4'; }, + @{ModuleName = 'Az.DataProtection'; RequiredVersion = '0.2.0'; }, + @{ModuleName = 'Az.DataShare'; RequiredVersion = '1.0.0'; }, + @{ModuleName = 'Az.DedicatedHsm'; RequiredVersion = '0.2.0'; }, + @{ModuleName = 'Az.DeploymentManager'; RequiredVersion = '1.1.0'; }, + @{ModuleName = 'Az.DesktopVirtualization'; RequiredVersion = '3.0.0'; }, + @{ModuleName = 'Az.DeviceProvisioningServices'; RequiredVersion = '0.10.0'; }, + @{ModuleName = 'Az.DevSpaces'; RequiredVersion = '0.7.3'; }, + @{ModuleName = 'Az.DevTestLabs'; RequiredVersion = '1.0.2'; }, + @{ModuleName = 'Az.DigitalTwins'; RequiredVersion = '0.1.0'; }, + @{ModuleName = 'Az.Dns'; RequiredVersion = '1.1.2'; }, + @{ModuleName = 'Az.EventGrid'; RequiredVersion = '1.3.0'; }, + @{ModuleName = 'Az.EventHub'; RequiredVersion = '1.7.2'; }, + @{ModuleName = 'Az.FrontDoor'; RequiredVersion = '1.8.0'; }, + @{ModuleName = 'Az.Functions'; RequiredVersion = '3.0.0'; }, + @{ModuleName = 'Az.GuestConfiguration'; RequiredVersion = '0.10.8'; }, + @{ModuleName = 'Az.HanaOnAzure'; RequiredVersion = '0.3.0'; }, + @{ModuleName = 'Az.HDInsight'; RequiredVersion = '4.2.1'; }, + @{ModuleName = 'Az.HealthBot'; RequiredVersion = '0.1.0'; }, + @{ModuleName = 'Az.HealthcareApis'; RequiredVersion = '1.3.1'; }, + @{ModuleName = 'Az.HPCCache'; RequiredVersion = '0.1.1'; }, + @{ModuleName = 'Az.ImageBuilder'; RequiredVersion = '0.2.0'; }, + @{ModuleName = 'Az.ImportExport'; RequiredVersion = '0.1.0'; }, + @{ModuleName = 'Az.IotCentral'; RequiredVersion = '0.9.0'; }, + @{ModuleName = 'Az.IotHub'; RequiredVersion = '2.7.3'; }, + @{ModuleName = 'Az.KeyVault'; RequiredVersion = '3.4.4'; }, + @{ModuleName = 'Az.KubernetesConfiguration'; RequiredVersion = '0.4.0'; }, + @{ModuleName = 'Az.Kusto'; RequiredVersion = '2.0.0'; }, + @{ModuleName = 'Az.LogicApp'; RequiredVersion = '1.5.0'; }, + @{ModuleName = 'Az.MachineLearning'; RequiredVersion = '1.1.3'; }, + @{ModuleName = 'Az.Maintenance'; RequiredVersion = '1.1.1'; }, + @{ModuleName = 'Az.ManagedServiceIdentity'; RequiredVersion = '0.7.3'; }, + @{ModuleName = 'Az.ManagedServices'; RequiredVersion = '2.0.0'; }, + @{ModuleName = 'Az.ManagementPartner'; RequiredVersion = '0.7.2'; }, + @{ModuleName = 'Az.Maps'; RequiredVersion = '0.7.3'; }, + @{ModuleName = 'Az.MariaDb'; RequiredVersion = '0.2.0'; }, + @{ModuleName = 'Az.Marketplace'; RequiredVersion = '0.2.0'; }, + @{ModuleName = 'Az.MarketplaceOrdering'; RequiredVersion = '1.0.2'; }, + @{ModuleName = 'Az.Media'; RequiredVersion = '1.1.1'; }, + @{ModuleName = 'Az.Migrate'; RequiredVersion = '1.0.2'; }, + @{ModuleName = 'Az.MixedReality'; RequiredVersion = '0.1.4'; }, + @{ModuleName = 'Az.Monitor'; RequiredVersion = '2.5.0'; }, + @{ModuleName = 'Az.MonitoringSolutions'; RequiredVersion = '0.1.0'; }, + @{ModuleName = 'Az.MySql'; RequiredVersion = '0.6.0'; }, + @{ModuleName = 'Az.NetAppFiles'; RequiredVersion = '0.5.0'; }, + @{ModuleName = 'Az.Network'; RequiredVersion = '4.8.0'; }, + @{ModuleName = 'Az.NotificationHubs'; RequiredVersion = '1.1.1'; }, + @{ModuleName = 'Az.OperationalInsights'; RequiredVersion = '2.3.0'; }, + @{ModuleName = 'Az.Peering'; RequiredVersion = '0.3.0'; }, + @{ModuleName = 'Az.PolicyInsights'; RequiredVersion = '1.4.1'; }, + @{ModuleName = 'Az.Portal'; RequiredVersion = '0.1.0'; }, + @{ModuleName = 'Az.PostgreSql'; RequiredVersion = '0.5.0'; }, + @{ModuleName = 'Az.PowerBIEmbedded'; RequiredVersion = '1.1.2'; }, + @{ModuleName = 'Az.PrivateDns'; RequiredVersion = '1.0.3'; }, + @{ModuleName = 'Az.ProviderHub'; RequiredVersion = '0.1.0'; }, + @{ModuleName = 'Az.RecoveryServices'; RequiredVersion = '4.1.0'; }, + @{ModuleName = 'Az.RedisCache'; RequiredVersion = '1.4.0'; }, + @{ModuleName = 'Az.RedisEnterpriseCache'; RequiredVersion = '1.0.0'; }, + @{ModuleName = 'Az.Relay'; RequiredVersion = '1.0.3'; }, + @{ModuleName = 'Az.Reservations'; RequiredVersion = '0.9.0'; }, + @{ModuleName = 'Az.ResourceGraph'; RequiredVersion = '0.10.0'; }, + @{ModuleName = 'Az.ResourceMover'; RequiredVersion = '1.0.0'; }, + @{ModuleName = 'Az.Resources'; RequiredVersion = '4.1.0'; }, + @{ModuleName = 'Az.Search'; RequiredVersion = '0.8.0'; }, + @{ModuleName = 'Az.Security'; RequiredVersion = '0.11.0'; }, + @{ModuleName = 'Az.SecurityInsights'; RequiredVersion = '1.0.0'; }, + @{ModuleName = 'Az.ServiceBus'; RequiredVersion = '1.5.0'; }, + @{ModuleName = 'Az.ServiceFabric'; RequiredVersion = '3.0.0'; }, + @{ModuleName = 'Az.SignalR'; RequiredVersion = '1.2.0'; }, + @{ModuleName = 'Az.SpringCloud'; RequiredVersion = '0.2.0'; }, + @{ModuleName = 'Az.Sql'; RequiredVersion = '3.1.0'; }, + @{ModuleName = 'Az.SqlVirtualMachine'; RequiredVersion = '1.1.0'; }, + @{ModuleName = 'Az.StackEdge'; RequiredVersion = '0.1.0'; }, + @{ModuleName = 'Az.StackHCI'; RequiredVersion = '0.7.0'; }, + @{ModuleName = 'Az.Storage'; RequiredVersion = '3.7.0'; }, + @{ModuleName = 'Az.StorageSync'; RequiredVersion = '1.5.0'; }, + @{ModuleName = 'Az.StreamAnalytics'; RequiredVersion = '2.0.0'; }, + @{ModuleName = 'Az.Subscription'; RequiredVersion = '0.8.0'; }, + @{ModuleName = 'Az.Support'; RequiredVersion = '1.0.0'; }, + @{ModuleName = 'Az.Synapse'; RequiredVersion = '0.12.0'; }, + @{ModuleName = 'Az.TimeSeriesInsights'; RequiredVersion = '0.2.0'; }, + @{ModuleName = 'Az.TrafficManager'; RequiredVersion = '1.0.4'; }, + @{ModuleName = 'Az.VMware'; RequiredVersion = '0.2.0'; }, + @{ModuleName = 'Az.Websites'; RequiredVersion = '2.6.0'; }, @{ModuleName = 'Az.WindowsIotServices'; RequiredVersion = '0.1.0'; }) # Assemblies that must be loaded prior to importing this module diff --git a/tools/RunVersionController.ps1 b/tools/RunVersionController.ps1 index 5a3f88cb403f..7b23268e9af8 100644 --- a/tools/RunVersionController.ps1 +++ b/tools/RunVersionController.ps1 @@ -288,8 +288,13 @@ function Generate-AzPreview $Psd1Object = Import-PowerShellDataFile $Psd1FilePath $moduleName = "Az.${ModuleName}" $moduleVersion = $Psd1Object.ModuleVersion.ToString() - $requiredModulesString += "@{ModuleName = '$moduleName'; RequiredVersion = '$moduleVersion'; }, - " + if('Az.Accounts' -eq $moduleName) + { + $requiredModulesString += "@{ModuleName = '$moduleName'; ModuleVersion = '$moduleVersion'; },`n " + } + else{ + $requiredModulesString += "@{ModuleName = '$moduleName'; RequiredVersion = '$moduleVersion'; },`n " + } } } $requiredModulesString = $requiredModulesString.Trim()