I have no experience with Powershell attachments, but I'm going to suggest that it is very similar to IronPython as it is ultimately deeply related to the CLR.
So:
PowerShell / IronPython
, - CLR.
, , . , CLR , .
Lua/Javascript
, - API P/Invoke API. ( COM Interop)
Pro: , .
Con: P/Invoke, ..
Lua Javascript:
Lua , Javascript, Javascript FP, .