public EmbeddableRunspace(NotifyPSHostExit notifyPSHostExit) { this.embeddedPSHost = new EmbeddablePSHost(notifyPSHostExit); this.runspace = RunspaceFactory.CreateRunspace(embeddedPSHost); this.runspace.Open(); RunScript("Add-PsSnapin LabLauncherTunnel"); }
public EmbeddableRunspace(NotifyPSHostExit notifyPSHostExit) { this.embeddedPSHost = new EmbeddablePSHost(notifyPSHostExit); this.runspace = RunspaceFactory.CreateRunspace(embeddedPSHost); this.runspace.Open(); RunScript("add-pssnapin PowerShellTunnel"); }
public EmbeddableRunspace(NotifyPSHostExit notifyPSHostExit) { this.embeddedPSHost = new EmbeddablePSHost(notifyPSHostExit); this.runspace = RunspaceFactory.CreateRunspace(embeddedPSHost); this.runspace.Open(); RunScript("add-pssnapin PowerShellTunnel"); }
public EmbeddablePSHost(NotifyPSHostExit notifyPSHostExit) { this.notifyPSHostExit = notifyPSHostExit; this.privateData = new PSObject(exposed); }
public EmbeddablePSHost(NotifyPSHostExit notifyPSHostExit) { this.notifyPSHostExit = notifyPSHostExit; this.privateData = new PSObject(exposed); }