The Azure Code Samples are currently available in English


Por ramankum
Última atualização: 10/05/2017
Editar no GitHub


These samples demonstrate how to get started with Azure PowerShell to perform various operations on Azure Managed Disks for common scenarios. Each sample respresents a scenario that you want to implement using Azure PowerShell and Managed Disks.


  1. Install the latest version of Azure PowerShell
  2. A Microsoft Azure subscription. If you don't have a Microsoft Azure subscription you can get a FREE trial account here


Running samples

  1. Start Windows PowerShell Integrated Scripting Environment (ISE) in Administrator Mode
  2. At this point, you can either:
    • Create a new script and copy and paste a script from this repo into the new file: Click File > New
    • Or download/clone this repo and open a script from this repo: Click File > Open
  3. Provide the appropriate values for each variable (e.g. "Subscription Name", "Storage Account Name", etc.). Note: The angled brackets should not be included in the values you provide.
  4. Run the script by pressing F5 or clicking the "Run Script" icon.

More information