I am working on creating a GUI based app with PowerShell. I am struggling with getting the text entered by the user in the textbox to be assigned to a variable.
I want the user to enter the server name in the textbox and use that text on button click for processing the rest.
Suppose $Textbox is the textbox while $Server is the server.
