How to Use PowerShell DSC to Prepare a Data Drive on an Azure VM


In a recent post from his blog, Premier Developer Consultant Tim Omta  gives us a step-by-step overview of how to use PowerShell DSC to prepare a data drive on an Azure VM.


I was asked how to automate formatting a data drive on an Azure VM. The drive had been provisioned already when the infrastructure was created via ARM script, however the disk was raw. I developed this solution with Azure PowerShell Desired State Configuration (DSC), Azure PowerShell 1.0 (newest release as of April 2016), and my Windows 10 client machine, meaning I have PowerShell 5 and can leverage the PowerShell Gallery. DSC was originally developed for Windows Server and has been extended into Azure.

Continue reading on Tim’s blog…

Comments (0)

Skip to main content