In DISKPART.EXE
, I get the info when multiple mount points are assigned to a volume. In the picture we see that Drive G: can also be accessed using D:\SQL\MSSQL13.MSSQLSERVER\DATA\ or D:\BlaBla:
But I can't find the same info using PowerShell's Get-Volume
or Get-WMIObject -Class Win32_Volume
. Does anyone knows how to extract this info using a native PowerShell function?
I thought of extracting the info by calling DISKPART.EXE
inside PowerShell but I would prefer an native PowerShell function like Get-Volume
.