다음을 통해 공유


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

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.

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: https://ITProGuru.com/Scripts