Get-Disk PowerShell cmdlet does not show dynamic disks.

We've been updating our Windows server documentation tool to use the newer Get-Disk cmdlets on Windows 2012 and above and found that when you configure a disk as dynamic


The Get-Disk PowerShell cmdlet disappears the disk. It's interesting as the same thing happens in Server Manager. Whilst dynamic disks are deprecated it's still frustrating when things disappear from a user interface rather than showing them as an "Unsupported Disk".


You can however see dynamic disks when using the Get-PhysicalDisk cmdlet

Basic Disk
  • Shows in Disk Management MMC
  • Shows in Get-Disk cmdlet
  • Shows in Server Manager
  • Shows in Get-PhysicalDisk cmdlet
  • Shows in Win32_DiskDrive


Dynamic Disk
  • Shows in Disk Management MMC
  • Doesn't show in Get-Disk cmdlet
  • Doesn't show in Server Manager
  • Shows in Get-PhysicalDisk cmdlet
  • Shows in Win32_DiskDrive


Storage Pool Member Disk
  • Doesn't show in Disk Management MMC
  • Doesn't show in Get-Disk cmdlet
  • Doesn't show in Server Manager
  • Shows in Get-PhysicalDisk cmdlet
  • Doesn't show in Win32_DiskDrive

Storage Pool Virtual Disk
  • Shows in Disk Management MMC
  • Shows in Get-Disk cmdlet as a Microsoft Storage Space Device
  • Shows in Server Manager
  • Doesn't show in Get-PhysicalDisk cmdlet (it's not a physical disk)
  • Does show in Win32_DiskDrive

Comments

Popular posts from this blog

Windows Server 2016, 2019, 2022, Windows 10 and Windows 11: Date and time "Some settings are managed by your organization".

TFTPD32 or TFTPD64 reports Bind error 10013 An attempt was made to access a socket in a way forbidden by its access permissions.

Enable function lock for F1-F12 on HP ZBook mobile workstations