/managed-disks-powershell-getting-started

This repo contains sample Powershell scripts for various scenarios of using Azure Managed Disks

Primary LanguagePowerShellMIT LicenseMIT

services platforms author
storage,virtual-machines
powershell
ramankum

Introduction

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.

Prerequisites

  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

Samples

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