PowerTip: Hide a PowerShell ISE add-on

Doctor Scripto

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

 

0 comments

Discussion is closed.

Feedback usabilla icon