Introduction
The purpose of this trick/tip is demonstrating how easily it is using the MFC class CPowerShell from http://www.codeproject.com/Articles/880154/MFC-PowerShells-Easily for tasks that require otherwise extensive and many times complicated code.
Using the code
First, download, compile and run the code from http://www.codeproject.com/Articles/880154/MFC-PowerShells-Easily, and delete everything from the application's view (press Ctrl+A and start typing the text/script below).
Then just type in this pretty short code:
irm http: fl title,description,pubdate,@{l=' ';e={'-'*30}}
And type Alt+R+R (or F5) to run the script.
That's all!
Using CPowerShell MFC class and very short scripts (like the one above) makes you more productive and your application much more powerful, without any extensive and complicated code.
Points of Interest
CROM technology (see my previous article, already mentioned) borrows a lot of power from other applications, just like COM technology.
But you'll need the code from http://www.codeproject.com/Articles/880154/MFC-PowerShells-Easily, which I have already posted (as you can see here: http://www.codeproject.com/Messages/5009925/Article-update.aspx), but the contributor who replied to my question seems to be delaying the publishing more than necessary.
History
just posted.