title: Get the drive letter of USB drive in PowerShell
body: <p>I've seen articles in C# and some other languages that explain how to achieve what I'm looking for but I don't know how to convert them.</p>
  <ul>
  <li><p>The following link explains how to get the answer:<br />
  <a href="https://stackoverflow.com/questions/6653205/how-can-i-get-the-drive-letter-of-an-usb-device">How can I get the drive letter of an USB device?</a><br />
  Win32_DiskDrive-&gt; Win32_DiskDriveToDiskPartition -&gt; Win32_DiskPartition -&gt; Win32_LogicalDiskToPartition -&gt; Win32_LogicalDisk</p>
  </li>
  <li><p>The answer by GEOCHET explains also explains how to achieve the answer but again, not in PowerShell: <a href="https://stackoverflow.com/questions/123927/how-to-find-usb-drive-letter">How to find USB drive letter?</a></p>
  </li>
  </ul>