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/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.