ISE configuration

The out-of-the-box experience with ISE is pretty good but there are many enhancements and add-ons that can make you more productive.

I assume you have already setup ISE to run scripts as per this article…

These are my additional recommendation:

Add-on Modules

Install the PowerShell Cookbook module. This provides Show-Object which is a great way of exploring the capabilities of .Net assemblies such as SwitcherLib.dll.

To install, issue the following command:

Install-Module -Name PowerShellCookbook -Force -AllowClobber

Install Project Explorer

To install, issue the following commands if you have Windows 10:

Install-Module PsISEProjectExplorer
Import-Module PsISEProjectExplorer

If you don’t have Windows 10, visit this site for setup instructions

ISESteroids provides a sophisticated Variable Monitor, Real-Time Squiggles, And AutoFix in Status Bar.
Install the Trial version by running ISE as Administrator and using the following commands:

Find-Module ISESteroids
Install-Module ISESteroids

Things that you can add to the ISE profile (the thing you created here )

Open the X-keys config editor tool from the ISE Add-in menu (update the path to where you store it. I just put it in the /documents/WindowsPowrShell directory so the relative path is prefixed with an automatic variable of the current directory).

$psise.CurrentPowerShellTab.AddOnsMenu.Submenus.Add("Edit X-keys config",{$file = "{0}\documents\windowspowershell\xkeysconfigeditor.exe" -f $pwd;Invoke-Expression $file},"Ctrl+Alt+X")