Your Script Can Have a Window Too

On Windows, a script can open a small window of its own with .NET's Windows Forms: a form, a list, a button and a label, with a script block that runs when the button is clicked, so a colleague who would rather click can use your tool without typing a command.

Updated

Cheat sheet for the lesson Your Script Can Have a Window Too: On Windows, a script can open a small window of its own with .NET's Windows Forms: a form, a list, a button and a label, with a script block that runs when the button is clicked, so a colleague who would rather click can use your tool…
Category
PowerShell
Level
Freelancer
Tags
add-type, graphical-user-interface, net-types-in-powershell, powershell, script-block, windows-forms