Designing a UI
It is difficult, but not impossible, to design a user interface using code alone. This chapter focuses on a small number of simple UI elements, which can be combined to build a more complex user interface. The examples in this chapter do not require a visual designer.
There are several options available for visual designers:
- Visual Studio—free when using the Community edition: https://visualstudio.microsoft.com/vs/community/
- PoshGUI—web-based, requires a subscription: https://poshgui.com/
- PowerShell Pro Tools—Visual Studio Code extension, requires a subscription: https://ironmansoftware.com/powershell-pro-tools-for-visual-studio-code/
In the case of Visual Studio, it can be used to generate the XAML content in the designer, and that XAML content can be reused in PowerShell.