/PowerShellAsync

Extentions for PowerShell for use Task

Primary LanguageC#MIT LicenseMIT

PowerShellAsync

Extentions for PowerShell for use C# syntax async/await

Use like nuget:

Install-Package PowerShellAsync

Use in System.Management.Automation.dll syntax async/await

var ps = PowerShell.Create();
ps.AddScript("ls");
var result = await ps.InvokeAsync<PSObject>();