Output all powershell console message to WDF:textbox

I am currently testing out what is the best way to output powershell console message to WDF:textbox.

If i run this script normally in powershell it would return

App ‘Word’ pinned to Start
App ‘Google Chrome’ pinned to Start

How would i output that in the textbox in this GUI.

Example Code

 

XAML won’t get displayed properly here, please use gist.github.com to post it here.