identify pass-through disk by WMI methods

balu T 41 Reputation points
2020-11-10T12:35:43.617+00:00

Hi experts, Is there a way to identify the pass-through disk using WMI ?

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,706 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xiaowei He 9,891 Reputation points
    2020-11-11T05:49:45.24+00:00

    Hi,

    Generally, we may use PowerShell to get the disk information as it does most, if not all, of the WMI work for you.

    Below is the article about use Powershell command and WMI command to get disk information, please check if they can help:

    https://deangrant.me/2014/03/16/retrieving-disk-number-and-scsi-id-for-volumes-using-the-windows-powershell-storage-module/

    https://deangrant.me/2014/04/05/retrieving-disk-number-and-scsi-id-for-logical-disk-using-wmi/

    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

    Thanks for your time!
    Best Regards,
    Anne

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.