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


PowerShell DSC



Package Details



DesiredStateConfiguration DSC DSCResourceKit DSCResource


Disk DiskAccessPath MountImage OpticalDiskDriveLetter WaitForDisk WaitForVolume


This module has no dependencies.

Release Notes

- Enabled PSSA rule violations to fail build - Fixes [Issue 149](
- Fixed markdown rule violations in CHANGELOG.MD.
- Disk:
 - Corrected message strings.
 - Added message when partition resize required but `AllowDestructive`
   parameter is not enabled.
 - Fix error when `Size` not specified and `AllowDestructive` is `$true`
   and partition can be expanded - Fixes [Issue 162](
 - Fix incorrect error displaying when newly created partition is not
   made Read/Write.
 - Change verbose messages to show warnings when a partition resize would
   have occured but the `AllowDestructive` flag is set to `$false`.


Version History

Version Downloads Last updated
5.1.0-previe... 12 2/6/2023
5.1.0-previe... 59 1/26/2023
5.1.0-previe... 3,024 4/10/2021
5.0.2-previe... 123 12/30/2020
5.0.1 156,056 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,501 5/5/2020
5.0.0-previe... 15 5/3/2020
5.0.0-previe... 28 4/15/2020 83,896 10/30/2019 26,911 8/8/2019 56,002 5/15/2019 60,042 4/3/2019 39,388 2/20/2019 8,768 1/10/2019 6,582 11/29/2018 4,283 10/25/2018 (current version) 9,535 9/5/2018 35,442 2/8/2018
Show less