APPENDIX F

Building Your Own GUI with PowerShell

IN THIS APPENDIX, YOU WILL LEARN TO:

image CHOOSE BETWEEN WINFORMS AND WPF 380
image CREATE A GUI IN POWERSHELL 381
Create a WinForms Application 385
Create a WPF Application 391

Command-line scripts are great from an administrative perspective, but the people who may work with these scripts or their output may not necessarily be comfortable in a command-line realm. It would help to create a graphical user interface (GUI) for them to feel a little more comfortable.

Since PowerShell can take advantage ...

Get Automating Microsoft® Windows Server® 2008 R2 with Windows PowerShell® 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.