What you are saying tells me that "$username" is not a value but it is another textbox obect.
The correct way to assign a textbox from a variable is the following:
$username contains the stored value of the output of my function. The value when using PowerShell_ISE is "CTest". However, when writing it to a textbox in PowerShell Studio it is C-System.Windows.Forms.TextBox, Text: Test.Text. I'm trying to figure out how to display it correctly.
I don't believe the function is the issue. There is no errors being thrown. Its clearly grabbing the correct data, but adding in the non-bold parts. C-System.Windows.Forms.TextBox, Text: Test.Text
This issue is very similar to the below. We just need to put this into a GUI to hand off.
I don't believe the function is the issue. There is no errors being thrown. Its clearly grabbing the correct data, but adding in the non-bold parts. C-System.Windows.Forms.TextBox, Text: Test.Text
This issue is very similar to the below. We just need to put this into a GUI to hand off.