Author Archives: rkeithhill

Scripting Guys Blog Posts on Using Visual Studio Code for PowerShell Development

If  you’re looking for a bit more up-to-date getting started guide on using PowerShell with Visual Studio Code, check out these blog posts: Get started with PowerShell development in Visual Studio Code Visual Studio Code editing features for PowerShell development … Continue reading

Posted in PowerShell, VSCode | 4 Comments

Preview of Module Build and Publish with Visual Studio Code and the PowerShell Extension

We are noodling around with how to best provide support for publishing modules to the PowerShell Gallery from a PowerShell workspace within Visual Studio Code.  In today’s release of the PowerShell extension for VSCode (version 0.5.0), we have included an … Continue reading

Posted in PowerShell, PowerShellEditorServices, VSCode | 6 Comments

Breakpoint Enhancements in the v0.5.0 PowerShell Extension for Visual Studio Code

Visual Studio Code 0.10.10 released today with many new features including indentation-based code folding and UI support for configuring “function” breakpoints.  In this blog post, I’ll show you a few new features what we have planned for the 0.5.0 release … Continue reading

Posted in PowerShell, PowerShellEditorServices, VSCode | Leave a comment

Creating a PowerShell Command that Process Paths using Visual Studio Code

Writing functions that need to process paths in PowerShell and do everything that PowerShell users expect can be tricky.  Here are some of the features that folks expect for a fictitious function called “Edit-File” (well, there *is* an Edit-File command … Continue reading

Posted in PowerShell, PowerShellEditorServices, VSCode | Leave a comment

New Release of PowerShell Extension For Visual Studio Code

There’s a new version (0.4.0) of the PowerShell extension for Visual Studio Code out with some really nice enhancements.  There’s also a new version of Visual Studio Code (0.10.8) out with lots of improvements as well (read about those here).  … Continue reading

Posted in PowerShell, PowerShell 5.0, PowerShellEditorServices, VSCode | Leave a comment

Debugging PowerShell Script with Visual Studio Code

In this post we will look at how you can debug your PowerShell scripts using VSCode and the PowerShell Editor Services extension for VSCode.  As a pre-requisite see the post Getting Started with Visual Studio Code for Use with PowerShell … Continue reading

Posted in PowerShell, PowerShellEditorServices, VSCode | Tagged , , | 8 Comments

Getting Started with Visual Studio Code for Use with PowerShell

Now that I’ve hopefully piqued your interest in using Visual Studio Code for editing and debugging PowerShell scripts, here is how you get started.  First, go to the Visual Studio code web site to download and install VSCode.  From here … Continue reading

Posted in PowerShell, PowerShellEditorServices, VSCode | Tagged , , | 7 Comments

Debugging in the PowerShellEditorServices for Visual Studio Code

You’ve probably heard about Microsoft’s Visual Studio Code editor.  It was announced at the 2014 online Connect event.  It is a free, light-weight, cross-platform code editor supporting Windows, Linux and MacOS.  I’ve been a big fan and user of the … Continue reading

Posted in PowerShell, PowerShellEditorServices, VSCode | Tagged , , | 1 Comment

PowerShell Snippets for Visual Studio Code

If you are a fan of using Visual Studio Code as a lightweight text editor and are also a PowerShell scripter, you have probably found VS Code’s PowerShell support somewhat lacking.  For instance, while it can syntax colorize PowerShell script … Continue reading

Posted in PowerShell, VSCode | 13 Comments

An Explanation of the .NET add_EventName / remove_EventName Methods for PowerShell Scripters

If you have ever attempted to write a little WinForms or WPF UI using PowerShell you have no doubt run across a method like add_Click() e.g. This might be a bit confusing if you are looking at C# examples or … Continue reading

Posted in .NET, PowerShell | 4 Comments