Skip to content

PowerShell v5 Handler

Eugene Bekker edited this page Feb 26, 2017 · 1 revision

The PowerShell v5 Handler is a backend handler that constructs a PowerShell v5 Runspace and defers all DSC protocol messages to well-defined cmdlets.

Status

  • Currently at proof-of-concept; correctly calculates Authorization header given a hardcoded Registration Key
  • Unfortunately, load-testing suggests that spawning a new PowerShell process for each request is going to suck from a performance perspective. Because .NET Core is presently not capable of hosting the PowerShell Core engine, this presents some difficulties. Going to do some back-end testing just on Windows in normal ASP.NET to see if hosting the shell directly provides sufficient performance gain.