3 ms·
i think you can write cmdlets in anything that compiles down to IL. So i am guessing you could write them in IronRuby or IronPython. Might be mistaken about tha
by apalmer 12y ago
i think you can write cmdlets in anything that compiles down to IL. So i am guessing you could write them in IronRuby or IronPython. Might be mistaken about that though.
also you can use the '&' operator to call anything executable, so you could take an exe and call it from powershell without issue
- ygra 12y agoIt's still a shell. No need to use & 'externalProgram.exe' when you can just use externalProgram.exe just as well. I see a lot of weird things on Stack Overflow with & or even Invoke-Expression, especially when it involves passing parameters to programs and the lack of understanding how parameter passing works. The results usually aren't pretty, then.
- MichaelGG 12y agoPretty sure you need & to call a variable, like & $git if you've a var pointing to git instead of having in the path.