title: How to call a powershell script from a C code
body: <p>In my case, I needed to call a powershell script from a c or c++ code source, found few links which were pretty clumsy and not good with c++,  I simply want a roadmap if its possible invoking a powershell script which lists directory contents from a code snippet written in c or c++</p>