# 'Storage" module commands returns no data on Windows 2016

**URL:** <https://forums.powershell.org/t/storage-module-commands-returns-no-data-on-windows-2016/9449>\
**Category:** PowerShell Help\
**Created:** [October 3, 2017, 1:26pm UTC](https://forums.powershell.org/t/storage-module-commands-returns-no-data-on-windows-2016/9449 "2017-10-03T13:26:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![holbrocr](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@holbrocr](https://forums.powershell.org/u/holbrocr)\
**Post date:** [October 3, 2017, 1:26pm UTC](https://forums.powershell.org/t/storage-module-commands-returns-no-data-on-windows-2016/9449/1 "2017-10-03T13:26:57Z")

</div>

We are running a mix of Windows 2008R2, 2012R2 and 2016 servers in our environment. We have upgraded a significant portion of them to WMF 5.1. (all the 2016 servers were deployed with WMF 5.1 already installed from a vmware template) I want incorporate the commands from the Storage module (get-command -module storage) for managing disks and partitions.

The commands I’ve tested on the 2008R2 and 2012R2 systems work fine. On the 2016 systems, when the command is ran (either locally, or through remote session; elevated or not) it returns no data. No errors, no data, nothing that I can find in any of the logs. I can retrieve the data regarding the disks and partitions through get-wmiobject. I can even return the data using get-ciminstance.

Has anyone else experienced this issue on 2016 and found a resolution? I’m definitely open for ideas on how to troubleshoot as well.

---

<div class="post-metadata">

**Author:** ![dan-potter](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/dan-potter/32/138_2.png) [@dan-potter](https://forums.powershell.org/u/dan-potter)\
**Post date:** [October 5, 2017, 8:41am UTC](https://forums.powershell.org/t/storage-module-commands-returns-no-data-on-windows-2016/9449/2 "2017-10-05T08:41:53Z")

</div>

Seems to work find on a 2016 azure vm.

Is there a particular cmdlet you’re having issues with?

PS C:\Users\dan.potter\> Get-PhysicalDisk

FriendlyName SerialNumber CanPool OperationalStatus HealthStatus Usage Size

* * *

Virtual HD False OK Healthy Auto-Select 30 GB  
Virtual HD False OK Healthy Auto-Select 70 GB

---

<div class="post-metadata">

**Author:** ![holbrocr](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@holbrocr](https://forums.powershell.org/u/holbrocr)\
**Post date:** [October 9, 2017, 7:58am UTC](https://forums.powershell.org/t/storage-module-commands-returns-no-data-on-windows-2016/9449/3 "2017-10-09T07:58:37Z")

</div>

I’ve tried _most_ of the commands in the Storage module. Some of the commands take the appropriate amount of time, as if they were processing…however, no data is returned.

If I run the command with specific data, I get an error message. i.e (get-disk -Number 0) returns “get-disk : No MSFT\_Disk objects found with property ‘Number’ equal to ‘0’. Verify the value of the property and retry.”

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:37pm UTC](https://forums.powershell.org/t/storage-module-commands-returns-no-data-on-windows-2016/9449/4 "2024-05-16T20:37:33Z")

</div>

Closed on May 16, 2024, 8:37pm UTC


