Author Posts

April 5, 2017 at 6:57 am

How can i get powershell output to WPF window. For example :

Write-Host -ForegroundColor Red -NoNewline "Connection down..."


Write-Output "$(Get-Date): Connection up!"

How to bind it to textBox in WPF.

April 5, 2017 at 3:53 pm

You can't "bind it" to a textbox. You have to modify the Text property of the TextBox object and set it equal to whatever text you want displayed.