locked
WMI class to list dynamic volume groups RRS feed

  • General discussion

  • Hi,

    All the WMI classes list only basic Volume Groups and not the dynamic groups.

    Even the disk management does not list dynamic groups.

    Why is this?

    and is there any way WMI can list these dynamic groups ?

    Dynamic groups basic info: 

     http://technet.microsoft.com/en-us/library/cc737048%28v=ws.10%29.aspx

    Thanks

    Randeep

    Thursday, December 11, 2014 1:27 PM

All replies

  • Like this:

    PS C:\scripts> gwmi win32_diskpartition|select description

    description
    -----------
    GPT: Unknown
    GPT: System
    GPT: Basic Data
    GPT: Unknown
    GPT: Unknown
    GPT: Unknown

    MBR disks are not marked GPT:


    ¯\_(ツ)_/¯

    Thursday, December 11, 2014 2:14 PM
  • We canaslo use this:

    DISKPART> list disk

      Disk ###  Status         Size     Free  Dyn  Gpt
      --------  -------------  -------  -------  ---     ---
      Disk 0    Online          465 GB      0 B          *


    ¯\_(ツ)_/¯

    Thursday, December 11, 2014 2:16 PM