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 :(
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?
$wow1 =[System.Action[int]]
$wow2 =[MyType]
$wow3 =[System.Action[MyType]]
MyTypedefined? You likely need to load its assembly, or qualify it with a namespace.ScriptBlockwork? technet.microsoft.com/en-us/library/hh847893.aspx