Quantcast
Viewing latest article 7
Browse Latest Browse All 34

PowerShell ISE addon menu generator

This is yet another ISE addon I have been using for quite sometime. I polished it a bit so that I can share it here with you all. This addon lets you create addon menu items easily. Without this, I used to open up my ISE profile script and add the menu items manually myself. This is how the addon looks: Here is the script behind this addon. [crayon-5ac4783bb857a326246113/] I used WinForms (shame on me, I did not use WPF) for the GUI. If you want to use this, this is what you need to do: Copy the contents of above script to a .ps1 file Dot source this .ps1 in your profile script for ISE Add the following code to the next line [crayon-5ac4783bb85a2251181596/] Once you are done, close and re-open ISE. This is what you will find in the addons menu: Now, you can add menu items using the GUI. The “Script block” textbox supports Return and Tab keys. So, you can align the script block as you wish. Finally, if you select …

Viewing latest article 7
Browse Latest Browse All 34

Trending Articles