Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 314 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 314 Bytes

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