title: How can I format the output to Manage-bde?
body: <p>I was recently tasked with keeping track of the laptops that are encrypted with BitLocker.  We have over 300 laptops and not are on the network at the same time.  The person that I took over for was using the flowing command line script to create a txt for each computer.</p>
  
  <pre><code>FOR /F %%A IN (c:\Temp\BitLock\BitLock.txt) DO c:\temp\BitLock\PsExec.exe \\%%A -e cmd /c (hostname ^&amp; Date /T ^&amp; manage-bde.exe -status ^&amp; manage-bde -protectors c: -get) &gt;&gt; \\server\Bitlocker\Recovery_Key\2015\%%A.log pause
  </code></pre>
  
  <p>I would like to have that information in one csv so I can quickly go through to see what is not encrypted.  Opening one file at a time seems like a lot of extra work. The below code is what I have come up with in PowerShell.  I am having problems getting the data to show in the cells. I don't think I am using the right object class name.</p>
  
  <pre><code>$computers= get-content c:\temp\computerlist.txt  
  $txtfile = "c:\temp\test\Computer4.txt"  
  foreach ($computer in $computers){
      manage-bde -cn $compute -status | 
          Select "Conversion Status",Password | 
          export-csv c:\temp\test\Computer4.csv
  }
  </code></pre>
  
  <p>My end goal is to have it display like below.</p>
  
  <p>Computer Name &nbsp; &nbsp;Recovery Key&nbsp;&nbsp; Conversion Status &nbsp;&nbsp; Protection Status&nbsp;&nbsp;&nbsp;&nbsp;Computer Description<BR>
  Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XXXXXXXXXX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fully Encrypted&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protection On&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;John, Smith Laptop</p>