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.