

Open up your favorite PowerShell script editor and let’s get started!įor this project you are going to build three functions: two functions to show/hide the console to provide a cleaner user experience and one to add items to your systray menu. MenuItem – Individual objects for each option within the right-click menu.ContextMenu – Container for when the user right-clicks on the tray icon.NotifyIcon – This will represent our customizable system tray icon for the user to interact with.A familiarity with Windows Forms (WinForms) You can, however, due this with WPF too though.įor this project, the good news is that you won’t really need to rely on Visual Studio, PoshGUI, or any other UI development tool as the primary components that this project will rely on the following:.NET Core 3.0 with PowerShell 7 preview may work on Windows due to recent added support for WPF and WinForm, but is untested. Windows PowerShell 3 or later – The latest version of.


Before you dive in, please be sure you meet the following minimum requirements:
