dfinke / edge-ps

PowerShell compiler for edge.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how does this work

rismoney opened this issue · comments

Can you explain how this works? I am not a c# guy so I have a few questions- I hope I am in the right place.

The code under /src creates the edge-ps.dll? This dll, is a hook into the System.Management.Automation namespace which gives access to powershell? Then node.js is able to use EdgeCompiler and NormalizeSource to marshall powershell calls?

Is this dll necessary because the powershell capabilities are not available as exported functions from a DLL?

Thanks for your input on this.