Hi,
I'm trying to find out how the RunspaceConfiguration.Create() method call is used. I want to set the c# hosting up, in a manner that will enable any conceivable powershell script from executing from c# by ensuring all Cmdlets, Providers etc, are available. Looking at the powershell samples, sample 5, it's got the following.
RunspaceConfiguration config = RunspaceConfiguration.Create("SampleConsole.psc1", out warnings);
How does the .psc1 get created, or where is stored, retrieved from. Any help would be appreciated.
regards scope_creep