New-Object System.Windows.Forms.Form Powershell Console Widget

489 Views Asked by At

Apologies if the answer is out there but I have been searching and maybe just not putting the right wordage in my searches.

I have a Windows Form that I have added checkboxes etc to. I have a Go button that when I click it I want to have a section on the Form display the output for

Get-Content MyLog.txt -Wait

So, I click Go and it will display that log file contents and as more data is added to that file it continues to scroll. Is it even possible to do this?

0

There are 0 best solutions below