Powershell Question: I need to attach excel file into my search button and output the result
I need to know how to attach and connect my excel file into my GUI standalone application that I built with Visual Studio C# on PowerShell ISE (I will attach the screen shot) Basically i need to attach my excel file into the search button and then whenever I search something from that excel file the result should be output to the user down below on the Appstrong text. I never worked with Power shell before so any help is needed and appreciated.
C# can’t convert from string to runspacemode?
So writing a C# program that uses a powershell script as follows
What’s the default PSHost implementation (for use in a RunspacePool)?
I’m trying to create a RunspacePool
with an initial session state and a count of min/max runspaces. However, the only constructor on RunspaceFactory
that supports all those parameters also requires a PSHost
: