Using the Task class in powershell
It would take a lot of work to get PowerShell working with Task
. Task
is too much of a low level construct for PowerShell to function with it directly.
To perform PowerShell operations asynchronously use jobs.