- Aug
- 2,831
- 149
Continued from C++ and PowerShell
Demonstration of a Take Command Console Plugin written in C++/CLI
This is NOT a finished product.
The plugin allows running PowerShell Commands and Files
Examples;
I build the MyPShell.dll from the command line;
Notes:
Joe
Demonstration of a Take Command Console Plugin written in C++/CLI
This is NOT a finished product.
The plugin allows running PowerShell Commands and Files
Examples;
Code:
E:\...\MyPShell>#MyPShell u:\flow.ps1
2022
2.99186
Code:
E:\...\MyPShell>#MyPShell get-date;2025-1963
2025-12-11 11:21:47 AM
62
I build the MyPShell.dll from the command line;
Code:
MSBuild.exe MyPShell.vcxproj /p:Configuration=Release /p:Platform=x64
Notes:
- Unlike the TCC PShell command, MyPShell is not persistent.
- I use this on my Windows 10 system with TCC v35.
- I am not a C++ expert, nor am I a C++/CI expert.
- This was built with .NET Framework
- Feel free to improve on this plugin.
- MyPShell.cpp source code included.
Joe
Last edited: