Download Azure Stack tools from GitHub

AzureStack-Tools is a GitHub repository that hosts PowerShell modules that you can use to manage and deploy resources to Azure Stack. You can download and use these PowerShell modules from MAS-CON01, Azure Stack host computer, or from a windows-based external client through VPN connectivity. To obtain these tools, clone the GitHub repository or download the AzureStack-Tools folder.

To clone the repository, download Git for Windows, open a Command Prompt window and run the following command:

# Change directory to the root directory 
cd \

# clone the repository
git clone https://github.com/Azure/AzureStack-Tools.git --recursive

# Change to the tools directory
cd AzureStack-Tools

To download the tools folder, run the following command:

# Change directory to the root directory 
cd \

# Download the tools archive
invoke-webrequest `
  https://github.com/Azure/AzureStack-Tools/archive/master.zip `
  -OutFile master.zip

# Expand the downloaded files
expand-archive master.zip `
  -DestinationPath . `
  -Force

# Change to the tools directory
cd AzureStack-Tools-master

Functionalities provided by the modules

The AzureStack-Tools repository contains PowerShell modules that support the following functionalities for Azure Stack:

Functionality Description who can use this module?
Cloud capabilities Use this module to get the cloud capabilities of a cloud. For example, you can get the cloud capabilities such as API version, Azure Resource Manager resources, VM extensions etc. for Azure Stack and Azure clouds using this module. Cloud administrators and users.
Azure Stack compute administration Use this module to add or remove a VM image from the Azure Stack marketplace. Cloud administrators.
Azure Stack Infrastructure administration Use this module to manage Azure Stack infrastructure VMs, alerts, updates etc. Cloud administrators.
Resource Manager policy for Azure Stack Use this module to configure an Azure subscription or an Azure resource group with the same versioning and service availability as Azure Stack. Cloud administrators and users
Register with Azure Use this module to register your Azure Stack POC instance with Azure. After registering, you can download the marketplace items from Azure and use them in Azure Stack. Cloud administrators
Azure Stack deployment Use this module to prepare the Azure Stack host computer to deploy and redeploy by using the Azure Stack Virtual Hard Disk(VHD) image. Cloud administrators.
Connecting to Azure Stack Use this module to connect to an Azure Stack instance through PowerShell and to configure VPN connectivity to Azure Stack. Cloud administrators and users
Azure Stack service administration Azure Stack administrators can use this module to create a default tenant offer with unlimited quota across Compute, Storage, Network, and Key Vault services. Cloud administrators.
Template validator Use this module to verify if an existing or a new template can be deployed to Azure Stack. Cloud administrators and users

Next steps