This repository contains scripts that are used by Microsoft Customer Service and Support (CSS) to aid in gaining better insight into, or troubleshooting issues with, deployments in Microsoft Azure. A goal of this repository is provide transparency to Azure customers who want to better understand the scripts being used and to make these scripts accessible for self-help scenarios outside of Microsoft support.
These scripts are generally intended to address a particular scenario and are not published as samples of best practices for inclusion in applications.
- For code and scripting examples of best practice see OneCode, OneScript, and the Microsoft Azure Script Center.
- For documentation on building and deploying applications for Microsoft Azure, please see the Microsoft Azure Documentation Center.
- For more information about support in Microsoft Azure see http://azure.microsoft.com/support
Each script will describe its own dependencies for execution. Generally, you will need an Azure subscription as well as the script environments and any tools used by the script you wish to execute. This may include:
- Azure PowerShell: How to install Azure PowerShell
- Azure CLI: How to install the Azure CLI
- Python: Python on Azure
A great place to find such an environment is the Azure Cloud Shell.
The repo is organized by support scenario and each contains a simple description of the script(s) in a readme.md. Depending on the scenario, you will find one or more scripts written in common languages (e.g. PowerShell, Bash, Python) targeting various aspects of the Azure platform (e.g. Windows VM Guests, Linux VM Guests, Azure subscription settings).
As described in the MIT license, these scripts are provided as-is with no warranty or liability associated with their use.
We value your input. If you encounter problems with the scripts or ideas on how they can be improved please file an issue in the Issues section of the project.