I'm trying to call a function from a C# DLL via PowerShell. It requires an object array as parameter and I need to pass strings inside it, but I don't know how.
What I need to do:
C# version:
printCustom(new object[] {new string[] {"hello", "its", "working"}});
I need to call this function from powershell but how to pass the parameters?
printCustom([object[]]@(//now?//));
printCustoma static or instance method?printCustomis static