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 4 years and 4 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.
Hello,
i am proud to get some code working and i willing to lern and also review your sources.
But is it possible that you can post a example how i can pass that?
I mean how to caputre and show? It would be amazing.
$textbox1.Text = ipconfig /all | Out-String
I see that output inside textbox
If I let run $textbox1.Text = Invoke-CertExServer16_ps1 | Out-String i cant see that output ... i only can see inde debug output inside of powershell studio the output
You cannot send output from a form. You must access one of the provided variables that contain the data from the form.
Again. Their are articles in the info center that describe ow to use this in detail with examples. Learning how to use the info center will provide you with and excellent resource while learning PowerShell and PowerShell Studio,
$buttonZertifikatErzeugen_Click={
#TODO: Place custom script here
$textbox1.Text = ipconfig /all | Out-String
}
and thats working. Wht it is only working with example 2 and not with example 1?
It might be happen because on example 1 i exectute a script from prject and on example 2 i exectute a command direct? Is that right?
If yes how i can get that output about that script who i exectute from that project folder?
This topic is 4 years and 4 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.