title: How to convert Volume GUID of the mount point to actual path?
body: <p>I'm using this code to get Path,VolumeLabel,TotalSize,FreeSpace:</p>
  
  <pre><code>gwmi -ComputerName $ComputerName -namespace root\MSCluster MSCluster_DiskPartition -Credential $cred -Authentication PacketPrivacy | Format-Table Path, VolumeLabel, TotalSize, FreeSpace -AutoSize
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>Path                                             VolumeLabel TotalSize FreeSpace
  ----                                             ----------- --------- ---------
  U:                                               Archive1      4194184    379651
  \\?\Volume{76795fb2-254e-454d-a95a-739018690cf4} Archive3      4194184    524883
  X:                                               Archive2      4194184    735366
  \\?\Volume{57e93910-60f9-44b9-8d9d-29d506e1e3d7} Archive4      4194184   1483274
  </code></pre>
  
  <p><strong>How I can get real path (or maybe drive name) of the mounting point from the Volume GUID ?</strong></p>
  
  <p><img src="https://i.stack.imgur.com/jYBAs.png" alt="enter image description here"></p>
  
  <p>I try to use .GetRelated class but with no success. Can somebody help me with this?</p>