February 7th, 2016

PowerTip: Hide a PowerShell ISE add-on

Doctor Scripto
Scripter

Summary: Learn how to programmatically hide a Windows PowerShell ISE add-on.

Hey, Scripting Guy! Question How can I use code to hide one of the Windows PowerShell ISE add-ons?

Hey, Scripting Guy! Answer Use the Windows PowerShell ISE object model, and set the IsVisible property of the add-on to False, for example:

$psISE.PowerShellTabs.VerticalAddOnTools.Item(0).isvisible = $false

 

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback