Forum Discussion
Ace_92
Aug 27, 2021Copper Contributor
Powershell Execute a specific method from an assembly
Hello, I'm trying to execute this script.ps1 in my vm of Windows 10 This variables gives me problems : $method= $class.GetMethod("runner") $method.Invoke(0, $null) It cannot call met...
- Aug 28, 2021It seems that the DLL that’s being downloaded doesn’t support a method call with the $null parameter. It’s unclear to me what this DLL is and how the method is defined. But that would be the first thing to check.
The runner method of ClassLibrary1.Class1 in lib.dll.
pvanberlo
Aug 28, 2021MCT
It seems that the DLL that’s being downloaded doesn’t support a method call with the $null parameter. It’s unclear to me what this DLL is and how the method is defined. But that would be the first thing to check.
The runner method of ClassLibrary1.Class1 in lib.dll.
The runner method of ClassLibrary1.Class1 in lib.dll.
Ace_92
Aug 28, 2021Copper Contributor
Hey thanks for this
I will check it out
Cheers 🙂
I will check it out
Cheers 🙂