title: Load F# assembly in Powershell and create a record expression
body: <p>I have a <code>Powershell</code> script. I successfully loaded a <code>C#</code> assembly and used a method contained in one the classes in that assembly: <code>[MyCSharpAssembly.MyClass]::MyAssemblyMethod()</code>. However the same did not work for <code>F#</code>.</p>
  
  <p>Is it at all possible?</p>
  
  <p>I have an assembly called <code>Data.dll</code> and it has a module called <code>People.fs</code> and <code>People.fs</code> defines record types:</p>
  
  <pre><code>module People =  
      type Teacher = {
          FirstName:string,
          LastName:string,
          Age:int }
  </code></pre>
  
  <p>I want to load the <code>Data.dll</code> assembly to my <code>Powershell</code> script and then create a record expression of type Teacher inside the script to use it in some other calculation in that script.</p>
  
  <p>How do I do that if it can be done?</p>