Thanks a lot for your input Raymond, it is much appreciated.
I was researching the ISHelllibrary on the MSDN link you provided and that seems to have all I need. However the code they have is C++ based, but I found that it is possible to execute C++ code within Powershell. All I have left now is to understand the C++ syntax to then use it in Powershell.
Thanks!