GUI Form Using PowerShell Add Panel, Label, Edit box, Combo Box, List Box, CheckBox and More!!!

Direct answer

Demonstrate how create and work with GUI Forms using PowerShell. Shows how to create Forms, add labels, text boxes, panels, combo boxes, Pick Lists, and more. Shows how to populate all fields including picklists and combobox lists and work with properties. Shows how to populate and work with array objects. Uses Azure commands to populate […]

Demonstrate how create and work with GUI Forms using PowerShell. Shows how to create Forms, add labels, text boxes, panels, combo boxes, Pick Lists, and more. Shows how to populate all fields including picklists and combobox lists and work with properties. Shows how to populate and work with array objects. Uses Azure commands to populate list data. Shows how to work with the results from the dialog and the changes made to the form objects.

Watch the recovered video -- originally hosted on Channel 9, now available on Microsoft Learn Shows.

See here for more ways to view or download!

GUI Form, Panel, Label, Edit box, Combo Box, List Box, CheckBox and More!!!

[00:57] Where to get Script

[01:07] Create the form

[01:57] Access the Power of the .NET Framework

[02:32] Empty Form, Add Panel for Buttons

[02:58] Create Cancel Button

[03:14] Multiple commands on same line

[03:40] Create OK Button

[03:47] Add Buttons to Panel

[04:00] Add Panel to form

[04:30] Finalize Form, Show Dialog and evaluate result

[05:05] Seeing the form in action

[05:47] Add TextBox and Label

[07:02] Add and populate Listbox with Azure Location

[08:03] Object as Array; Populate Listbox Values

[09:37] Set Default “Selected” Value of Listbox

[10:45] Add Checkbox

[11:09] Add ComboBox and populate with Azure VM Template Images

[15:15] Finalize and show form

[16:16] Default Value Comparison for Lists

[18:15] Evaluating results of form and all fields

[19:32] Referencing Array based on Selected Item

Brought to you by ITProGuru Dan Stolts. (Microsoft –Chief Technology Strategist)

Script Home: https://gallery.technet.microsoft.com/GUI-Popup-Custom-Form-with-bf6c4141

More Scripts Home: http://ITProGuru.com/Scripts

Dan Stolts

Founder and Chief AI Officer of Just In Time AI, with an IT career that began in 1988 -- nearly four decades of experience. Over a decade of that career went into building ITProGuru into a 250,000-uniques/mo IT-community resource, and he now applies the same teach-first approach to AI systems that run real businesses. Full profile →