title: How to read file in OEM encoding if PowerShell doesn't provide it?
body: <p>When used with .Net Framework 2.0 it looks like the OEM encoding isn't available in PowerShell.</p>
  
  <pre><code>PS1&gt; Get-Content $FilePath -Encoding OEM
  </code></pre>
  
  <blockquote>
    <p>Cannot bind parameter 'Encoding'. Cannot convert value "OEM" to type "Microsoft.PowerShell.Commands.FileSystemCmdletProviderEncoding" due to invalid enumeration values. Specify one of the following enumeration values and try again. The possible enumeration values are "Unknown, String, Unicode, Byte, BigEndianUnicode, UTF8, UTF7, Ascii".</p>
  </blockquote>
  
  <p>However I have files in this encoding that I'd like to read in a string, how to do it?</p>