public async Task Test1Async() { var opt = new CommandLineOptions(); opt.StartScriptPath = "start.ps1"; var ps = new PowershellExecuter(opt); await ps.RunStartScript(); }