Creating a custom user interface

 

Windows PowerShell provides abstract classes and interfaces that allow you to create a custom interactive UI that hosts the Windows PowerShell engine. To create a custom UI, you must implement the PSHost class. Optionally, you can also implement the PSHostRawUserInterfaceand PSHostUserInterface classes, and the IHostSupportsInteractiveSession and IHostUISupportsMultipleChoiceSelection interfaces.

For examples of custom UI hosts, see Custom Host Samples.

Show: