title: How can I load an assembly and use it in powershell?
body: <p>I read the suggestions on <a href="https://stackoverflow.com/questions/12923074/how-to-load-assemblies-in-powershell">How to load assemblies in PowerShell?</a>, but I didn't really understand it and I don't know how to apply it to my situation.</p>
  
  <p>I'm trying to load this assembly <a href="http://msdn.microsoft.com/en-us/library/system.runtime.serialization.formatters.binary.binaryformatter.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/system.runtime.serialization.formatters.binary.binaryformatter.aspx</a> so that I can serialize an object, and being very new to powershell I feel like I'm in over my head.  </p>
  
  <p>Can anyone guide me to how I go about loading this assembly into a script?  I'm getting the error: </p>
  
  <p><code>make sure that the assembly containing this type is loaded</code></p>
  
  <p>And when I use <code>Add-Type -Namespace System.Runtime.Serialization.Formatters.Binary</code> it prompts me for information for which I don't know how to provide.</p>