DSC resources for managing storage on Windows Servers.

Minimum PowerShell version


This is a prerelease version of StorageDsc.
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 5.0.0-preview0002 -AllowPrerelease

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


DSC Community


Copyright the DSC Community contributors. All rights reserved.

Package Details



DesiredStateConfiguration DSC DSCResource Disk Storage Partition Volume


DiskAccessPath MountImage OpticalDiskDriveLetter WaitForDisk WaitForVolume Disk


This module has no dependencies.

Release Notes

## [5.0.0-preview0002] - 2020-05-03

### Changed

- Fixed hash table style violations - fixes [Issue #219](
- Disk:
 - Updated example with size as a number in bytes and without unit of measurement
   like GB or MB - fixes [Issue #214](
- BREAKING CHANGE: Changed resource prefix from MSFT to DSC.
- BREAKING CHANGE: Changed Disk resource prefix from MSFTDSC to DSC as there
 would no longer be a conflict with the built in MSFT_Disk CIM class.
- Updated to use continuous delivery pattern using Azure DevOps - fixes
 [Issue #225](
- Updated Examples and Module Manifest to be DSC Community from Microsoft.
- Added Integration tests on Windows Server 2019.
- WaitForVolume:
 - Improved unit tests to use virtual disk instead of physical disk.
- Disk:
 - Added `Invalid Parameter` exception being reported when ReFS volumes are
   used with Windows Server 2019 as a known issue to README.MD - fixes
   [Issue #227](
- Updated build badges in
- Change Azure DevOps Pipeline definition to include `source/*` - Fixes [Issue #231](
- Updated pipeline to use `latest` version of `ModuleBuilder` - Fixes [Issue #231](
- Merge `` into `` - Fixes [Issue #232](
- OpticalDiskDriveLetter:
 - Suppress exception when requested optical disk drive does not exist
   and Ensure is set to `Absent` - Fixes [Issue #194](


Version History

Version Downloads Last updated
5.1.0-previe... 42 1/26/2023
5.1.0-previe... 3,024 4/10/2021
5.0.2-previe... 123 12/30/2020
5.0.1 155,524 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... (current version) 15 5/3/2020
5.0.0-previe... 28 4/15/2020 83,840 10/30/2019 26,911 8/8/2019 55,978 5/15/2019 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