Ladda ned Azure Stack Hub-verktyg från GitHubDownload Azure Stack Hub tools from GitHub
AzureStack – tools är en GitHub-lagringsplats som är värd för PowerShell-moduler för att hantera och distribuera resurser till Azure Stack Hub.AzureStack-Tools is a GitHub repository that hosts PowerShell modules for managing and deploying resources to Azure Stack Hub. Om du planerar att upprätta en VPN-anslutning kan du ladda ned dessa PowerShell-moduler till Azure Stack Development Kit (ASDK) eller till en Windows-baserad extern klient.If you're planning to establish VPN connectivity, you can download these PowerShell modules to the Azure Stack Development Kit (ASDK), or to a Windows-based external client.
Anteckning
Du kan också använda OAW-operatören för att komma åt den privilegierade slut punkten (PEP), på administratörs portalen för support scenarier och Azure Stack hubb GitHub verktyg.You can also use the The Operator Access Workstation (OAW) to access the privileged endpoint (PEP), the Administrator portal for support scenarios, and Azure Stack Hub GitHub Tools. Mer information finns i Azure Stack hubb operatörs åtkomst arbets Station.For more information see Azure Stack Hub Operator Access Workstation.
Hämta verktygenGet the tools
Du använder verktygen med AZ PowerShell-modulerna eller AzureRM-modulerna.You use the tools using the Az PowerShell modules, or the AzureRM modules.
För att hämta dessa verktyg, klona GitHub-lagringsplatsen från az
grenen eller ladda ned mappen AzureStack-tools genom att köra följande skript:To get these tools, clone the GitHub repository from the az
branch or download the AzureStack-Tools folder by running the following script:
# Change directory to the root directory.
cd \
# Download the tools archive.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
invoke-webrequest `
https://github.com/Azure/AzureStack-Tools/archive/az.zip `
-OutFile az.zip
# Expand the downloaded files.
expand-archive az.zip `
-DestinationPath . `
-Force
# Change to the tools directory.
cd AzureStack-Tools-az
Funktioner som tillhandahålls av modulernaFunctionality provided by the modules
Lagrings platsen för AzureStack-verktyg har PowerShell-moduler som stöder följande funktioner för Azure Stack Hub:The AzureStack-Tools repository has PowerShell modules that support the following functionalities for Azure Stack Hub:
FunktionerFunctionality | BeskrivningDescription | Vem kan använda den här modulen?Who can use this module? |
---|---|---|
MolnfunktionerCloud capabilities | Använd den här modulen för att hämta moln funktionerna i ett moln.Use this module to get the cloud capabilities of a cloud. Du kan till exempel få moln funktioner som API-version och Azure Resource Manager resurser.For example, you can get cloud capabilities like API version and Azure Resource Manager resources. Du kan också hämta VM-tilläggen för Azure Stack hubb och Azure-moln.You can also get the VM extensions for Azure Stack Hub and Azure clouds. | Moln operatörer och användareCloud operators and users |
Resource Manager-princip för Azure Stack hubbResource Manager policy for Azure Stack Hub | Använd den här modulen för att konfigurera en Azure-prenumeration eller en Azure-resurs grupp med samma versions-och tjänst tillgänglighet som Azure Stack Hub.Use this module to configure an Azure subscription or an Azure resource group with the same versioning and service availability as Azure Stack Hub. | Moln operatörer och användareCloud operators and users |
Registrera dig för AzureRegister with Azure | Använd den här modulen för att registrera din ASDK-instans med Azure.Use this module to register your ASDK instance with Azure. När du har registrerat dig kan du ladda ned Azure Marketplace-objekt med dem i Azure Stack Hub.After registering, you can download Azure Marketplace items use them in Azure Stack Hub. | Moln operatörerCloud operators |
Distribution av Azure Stack hubbAzure Stack Hub deployment | Använd den här modulen för att förbereda Azure Stack Hub-värddatorn för distribution och omdistribution med hjälp av den virtuella hård disk avbildningen för Azure Stack Hub.Use this module to prepare the Azure Stack Hub host computer to deploy and redeploy by using the Azure Stack Hub virtual hard disk (VHD) image. | Moln operatörerCloud operators |
Ansluter till Azure Stack hubbConnecting to Azure Stack Hub | Använd den här modulen för att konfigurera VPN-anslutning till Azure Stack Hub.Use this module to configure VPN connectivity to Azure Stack Hub. | Moln operatörer och användareCloud operators and users |
Mall verifierareTemplate validator | Använd den här modulen för att kontrol lera om en befintlig eller ny mall kan distribueras till Azure Stack Hub.Use this module to verify if an existing or a new template can be deployed to Azure Stack Hub. | Moln operatörer och användareCloud operators and users |
Nästa stegNext steps
- Kom igång med PowerShell på Azure Stack Hub.Get started with PowerShell on Azure Stack Hub.
- Konfigurera Azure Stack Hub-användarens PowerShell-miljö.Configure the Azure Stack Hub user's PowerShell environment.
- Anslut till Azure Stack Development Kit via en VPN.Connect to Azure Stack Development Kit over a VPN.