Scripting Blog

A place to learn about PowerShell and share stories of automation

PowerTip: Open a script in PowerShell ISE

Summary: Automatically open a script in the Windows PowerShell ISE.  How can I automatically open a script in the Windows PowerShell ISE from within a script?  Use the Windows PowerShell ISE automation model, and use the Add method for the Files collection on the current PowerShell tab, for example: $psISE.CurrentPowerShellTab.Files.Add("C...

PowerTip: Update a PowerShell module

Summary: Learn how to update an installed Windows PowerShell module.  I used Install-Module to install a Windows PowerShell module, but how can I update it?  Use the Update-Module cmdlet, for example: Update-Module powershellise-preview Here are a couple of other examples: find-module *ise-preview | Update-Module Update-Module *ise-preview...

Playing with PowerShell ISE Preview

Summary: This blog post explores the features and functionality of the newly released Windows PowerShell ISE Preview edition that runs on Windows PowerShell 5.0. After you install the Windows PowerShell ISE preview from the PowerShell Gallery and take a look at the modules and functions it provides, it is time to fire up the new ISE and play...