I have some Windbg script where I can call out to a cmd shell via the .shell command. Now I want to execute some Windbg command and pipe the output to the shell script which should start powershell.exe to process the input data. So far I did fail.
In principle it should be possible to pass data from stdin to powershell pipes?
echo C: | powershell.exe -Command "| dir"
I do not want to create an extra powershell script because that would complicate the windbg script further and create external dependencies.