Click here to Skip to main content
15,910,981 members

Comments by trobolan (Top 1 by date)

trobolan 23-Aug-12 5:19am View    
forgot to post how i invoke the code.. like this:
var shell = PowerShell.Create();
shell.Commands.AddScript(psScript1);
shell.Commands.AddScript(psScript2);
shell.Commands.AddScript(psScript3);
(and more lines)
var results = shell.Invoke();