Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 5 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
thanks but prompting for a password will not work for our needs. I have piped my get-tpm to a .TXT file and I can read the .txt file and display the contents. But the issue is the data will display like this:
I've tried all of your code and it does not work. This line produces no output. $richtextbox_output.Lines = $tpm_lines[0] | Out-String | %{$_ -replace '\0'} In fact using the .Lines produces no output. We can't prompt for a user\password. I can get it all into a .txt file but the RTB does not display the contents in a neat way.
This topic is 5 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.