I am working on putting together a PowerShell GUI for some Helpdesk folks at my work and what I want to happen is when a button is clicked, I want the Out-GridView to display with the results.
However, it is not working the way I had intended, but it works just fine when running from the PowerShell ISE.
I am assuming then that when running PowerShell code from a GUI, Windows Forms locks in any external processes extraneous to its control? Therefore, I need to use a Windows Forms toolbox object instead like a textbox, etc?
If this is the case, which Windows Forms object should I use that would be the closest thing to Out-GridView?