PowerTip: List All Files Open in PowerShell ISE

Summary: Get a list of all files that are currently open in the Windows PowerShell ISE.  How can I pull a list of anything that I am currently editing in the Windows PowerShell ISE?  Use this command to get the entire list of files (including the full file path) that are currently open    …


A Favorite PowerShell ISE Feature: Snippets

Summary: Sean Kearney shows you how to get sample code in the Windows PowerShell ISE. Honorary Scripting Guy, Sean Kearney, is here today to show you a really cool feature that has been in Windows PowerShell ISE for a while, but you might have overlooked it! It’s called Snippets.    Note   This is a five-part series that…


PowerTip: Determine Which Files in ISE Are Saved

Summary: Easily identify which files have been saved in the PowerShell ISE.  How can I see which of my open files in the Windows PowerShell ISE been saved?  To show a list of files that have been saved, run the following code in the ISE. $psISE.PowerShellTabs.files | where { $_.IsSaved } | Select-Object DisplayName  


A Favorite PowerShell ISE Feature: Module Browser

Summary: Sean Kearney shows you how to access modules in the PowerShell Gallery. Honorary Scripting Guy, Sean Kearney, is here today to introduce you to a feature you may not have heard of called the Module Browser for the PowerShell ISE.    Note   This is a five-part series that includes the following posts about features in…


PowerTip: Set Zoom Level in PowerShell ISE

Summary: Automatically set the zoom level in the Windows PowerShell ISE.  How can I programmatically adjust the zoom for my font size in the Windows PowerShell ISE?  Set the Zoom property—for example, to adjust the font to 150%, run: $pSISE.Options.Zoom=150


A Favorite PowerShell ISE Feature: Script Browser

Summary: Sean Kearney shows you how to browse the TechNet Script Repository from the PowerShell ISE. Honorary Scripting Guy, Sean Kearney, is here today to introduce you to a pretty cool feature that is available in the Windows PowerShell ISE. It’s an add-on called the Script Browser.    Note   This is a five-part series that includes…


PowerTip: Edit Profile for PowerShell ISE

Summary: Identify and edit the autostart features for the Windows PowerShell ISE.  Is there something similar to the $Profile feature in the Windows PowerShell console that I can use to customize            my Windows PowerShell ISE environment?  The variable name is the same in the PowerShell ISE, but the file name it references…


A Favorite PowerShell ISE Feature: Script Analyzer

Summary: Sean Kearney introduces a free tool for examining your script. Honorary Scripting Guy, Sean Kearney, is here. This week I’m going to introduce you to my favorite Windows PowerShell ISE features.    Note   This is a five-part series that includes the following posts about features in the Windows PowerShell ISE: Script AnalyzerDownload a free tool…


PowerTip: Restore PowerShell ISE to Default Settings

Summary: Learn how to restore the Windows PowerShell ISE to its default configurations.  How can I restore the Windows PowerShell ISE to its default configurations?  Use the four built-in RestoreDefault methods with the PSise object to bring back everything in the ISE to the original settings: $PSise.Options.RestoreDefaults()$PSise.Options.RestoreDefaultConsoleTokenColors()$PSise.Options.RestoreDefaultTokenColors()$PSise.Options.RestoreDefaultXMLTokenColors()


Weekend Scripter: Customize PowerShell Title and Prompt

Summary: Learn how to interactively update the Windows PowerShell prompt and title. Honorary Scripting Guy, Sean Kearney, is here today to have a little bit of fun with the Windows PowerShell console. Why not? It’s a Sunday, it’s the last day of my time off, and I feel like playing. There have been many posts…