This module contains all resources related to the PowerShell Storage module, or pertaining to disk management.

Minimum PowerShell version


There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name StorageDsc -RequiredVersion

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Microsoft Corporation


(c) Microsoft Corporation. All rights reserved.

Package Details



DesiredStateConfiguration DSC DSCResourceKit DSCResource


DiskAccessPath MountImage OpticalDiskDriveLetter WaitForDisk WaitForVolume Disk


This module has no dependencies.

Release Notes

- Fix example publish to PowerShell Gallery by adding `gallery_api`
 environment variable to `AppVeyor.yml` - fixes [Issue 202](
- Added "DscResourcesToExport" to manifest to improve information in
 PowerShell Gallery and removed wildcards from "FunctionsToExport",
 "CmdletsToExport", "VariablesToExport" and "AliasesToExport" - fixes
 [Issue 192](
- Clean up module manifest to correct Author and Company - fixes
 [Issue 191](
- Correct unit tests for DiskAccessPath to test exact number of
 mocks called - fixes [Issue 199](
- Disk:
 - Added minimum timetowate of 3s after new-partition using the while loop.
   The problem occurs when the partition is created and the format-volume
   is attempted before the volume has completed.
   There appears to be no property to determine if the partition is
   sufficiently ready to format and it will often format as a raw volume when
   the error occurs - fixes [Issue 85](


Version History

Version Downloads Last updated
5.1.0-previe... 43 1/26/2023
5.1.0-previe... 3,024 4/10/2021
5.0.2-previe... 123 12/30/2020
5.0.1 155,525 8/3/2020
5.0.1-previe... 16 7/25/2020
5.0.1-previe... 11 7/25/2020
5.0.1-previe... 19 6/20/2020
5.0.0 23,496 5/5/2020
5.0.0-previe... 15 5/3/2020
5.0.0-previe... 28 4/15/2020 83,841 10/30/2019 26,911 8/8/2019 55,978 5/15/2019 (current version) 60,042 4/3/2019 39,382 2/20/2019 8,765 1/10/2019 6,582 11/29/2018 4,283 10/25/2018 9,535 9/5/2018 35,442 2/8/2018
Show less