Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Powershell- Associate Mount Point to Physical Disk

$
0
0

I need to be able to associate mount points (Get-WmiObject -Class Win32_MountPoint) with the physical drive on which it resides.

Scenario: I have physical disks (SAN LUNs) mounted as folders on an E: drive (also a SAN LUN) of a server.  I need to be able to, via a PowerShell script, associate the "folder" name to the physical disk (i.e., Harddisk4 or PhysicalDrive4).

I can get Mount Point associated with the Volume, etc., but can't make the link to the physical disk.

Any help is appreciated.


Viewing all articles
Browse latest Browse all 6937

Trending Articles