How do i save the azure powershell module for offline install?
-
Microsoft documentation: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-3.1.0
Offline versions can be installed using a powershell repository.
$ pwsh PS /home/training> Save-Module -Name Az -Path '/tmp/azure-pwsh-module' -Force
PS /tmp/azure-pwsh-module> ls Az Az.DeploymentManager Az.PolicyInsights Az.Accounts Az.DevTestLabs Az.PowerBIEmbedded Az.Advisor Az.Dns Az.PrivateDns Az.Aks Az.EventGrid Az.RecoveryServices Az.AnalysisServices Az.EventHub Az.RedisCache Az.ApiManagement Az.FrontDoor Az.Relay Az.ApplicationInsights Az.HDInsight Az.Resources Az.Automation Az.HealthcareApis Az.ServiceBus Az.Batch Az.IotHub Az.ServiceFabric Az.Billing Az.KeyVault Az.SignalR Az.Cdn Az.LogicApp Az.Sql Az.CognitiveServices Az.MachineLearning Az.SqlVirtualMachine Az.Compute Az.ManagedServices Az.Storage Az.ContainerInstance Az.MarketplaceOrdering Az.StorageSync Az.ContainerRegistry Az.Media Az.StreamAnalytics Az.DataBoxEdge Az.Monitor Az.TrafficManager Az.DataFactory Az.Network Az.Websites Az.DataLakeAnalytics Az.NotificationHubs Az.DataLakeStore Az.OperationalInsights
© Lightnetics 2024