![]() ![]() Set-PSRepository -Name "PSGallery" -InstallationPolicy Trustedģ. If the repository isn't registered, open an elevated PowerShell session and run the following command: Register-PSRepository -Default Import-Module -Name PackageManagement -ErrorAction Stop Open an elevated PowerShell prompt, and run the following cmdlets: Install-module -Name PowerShellGet -Force If you don't have PowerShell 5.1, follow the Installing Windows PowerShell. To check your version, run $PSVersionTable.PSVersion and compare the Major version. Verify your prerequisitesīefore you get started with Azure Stack Hub and the PowerShell Azure Resource Manager module, you must have the following prerequisites: For instructions, see Use Docker to run PowerShell for Azure Stack Hub. You can also run the Azure Resource Manager modules for Azure Stack Hub in a Docker container. This article walks you through the detailed instructions for these scenarios. You can install Azure Stack Hub compatible PowerShell modules in internet-connected, partially connected, or disconnected scenarios. When you install a profile, the Azure Resource Manager PowerShell modules that correspond to the specified profile are installed. For example, Azure Stack Hub supports a specific profile version such as -hybrid. Each cloud platform has a set of supported API version profiles. An API version profile is a set of Azure Resource Manager PowerShell modules with specific API versions. You also need to use API profiles to specify the compatible endpoints for the Azure Stack Hub resource providers.ĪPI profiles provide a way to manage version differences between Azure and Azure Stack Hub. For details on the increased functionality of the Az modules, which have been adopted across global Azure, see Introducing the Azure Az PowerShell module. see Migrate from AzureRM to Azure PowerShell Az in Azure Stack Hub. ![]() To learn how to migrate to the Az PowerShell module. To get started with the Az PowerShell module, see Install PowerShell Az preview module for Azure Stack Hub. The Az PowerShell module is now the recommended PowerShell module for interacting with Azure and Azure Stack Hub. The -hybrid profile is not supported for AzureRM modules. Az modules will be used for builds 2002 and later. AzureRM modules will no longer be updated in future Azure Stack Hub builds. All versions of the Azure Resource Manager (AzureRM) PowerShell module are outdated, but not out of support. ![]() You've reached a webpage for an outdated version of Azure Stack Hub PowerShell. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |