title: Drive Letters + Drive Physical Types (Powershell)
body: <p>Is there a method that allows us to get its letter and physical type for each driver? That is, get one array where something like this will be:</p>
  
  <pre><code>$Drivers = *Get-Something*   # Where $Drivers is @{} array 
  $Drivers
  ---
  C: SSD
  D: HDD
  E: SSD
  F: SSD
  </code></pre>
  
  <p>I need to bind the data of these two in an array. The first contains letters. the second contains physical types:</p>
  
  <pre><code>$DriversName = (Get-WmiObject -Class Win32_Volume).DriveLetter | Where-Object { $_ }
  $DriversType = Get-PhysicalDisk | Select-Object -ExpandProperty MediaType
  </code></pre>
  
  <p>But I do not know which element of the first array refers to the element of the second array. Because the system does not prioritize them.</p>
  
  <p>Thanks so much for the answers.</p>