title: Powershell how to create a delegate
body: <p>I am not to familar with powershell. I am trying to do something that would be a single line of code in C# but in powershell it is a pain :(  </p>
  
  <p>In the three lines below wow3 throws an error. Anyone know why wow3 throw a type not found error? Does this syntax for delegates only work for built in types?</p>
  
  <pre><code>$wow1 =[System.Action[int]]
  $wow2 =[MyType]
  $wow3 =[System.Action[MyType]]
  </code></pre>