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>();