Quantcast
Channel: Keith Hill's Blog
Browsing index pages (64 articles)
↧

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

Preview of Module Build and Publish with Visual Studio Code and the...

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...

View Article


Image may be NSFW.
Clik here to view.

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

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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

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. Add-Type -AssemblyName System.Windows.Forms $form =...

View Article

Image may be NSFW.
Clik here to view.

PSCX 3.2.1 Pushed to the PowerShellGallery

When you get your shiny new Windows 10 system up and running and want to get PSCX 3.2.1 installed, just drop to the console and execute: Install-Module Pscx -Scope CurrentUser If you are running from...

View Article

Image may be NSFW.
Clik here to view.

PSScriptAnalyzer–FxCop for PowerShell script

As a C and now C# developer I’ve always liked getting help with my code in the form of either Lint for C or code analysis a.k.a. FxCop for C#.  These tools are great at pointing out real and potential...

View Article

Image may be NSFW.
Clik here to view.

DNVM Execution Results in Get-Help Error in PowerShell

If you are running dnvm with no parameters on PowerShell with PSCX, you’re likely to see this error: 4> dnvm You must specify a command! ___ _ ___ ____ ___ / _ \/ |/ / | / / |/ / / // / /| |/ / /|_/...

View Article


Image may be NSFW.
Clik here to view.

Windows PowerShell V5 Goodies in the April WMF5 Preview

It looks like we will get not just the package management features PackageManagement  and PowerShellGet, but the whole of PowerShell V5 downlevel to Windows 7.  This is great news! The big features in...

View Article

Image may be NSFW.
Clik here to view.

MVP Virtual Conference

Passing this on from Microsoft. Register to attend the Microsoft MVP Virtual Conference Hi All – I wanted to let you know about a great free event that Microsoft and the MVPs are putting on, May 14th...

View Article


Image may be NSFW.
Clik here to view.

PowerShell 4.0 Now Available

You can get PowerShell 4.0 for down level operating systems now via the WMF 4.0 download.  NOTE: Be sure you have .NET 4.5 installed *before* you install WMF 4.0.  For various reasons, the WMF 4.0...

View Article

Image may be NSFW.
Clik here to view.

PowerShell Tidbit: Capturing a ScreenShot with PowerShell

This is a crude approach but works for capturing the main window of an application who’s process object you can find –typically via Get-Process.  If you run this script from PowerShell.exe or...

View Article


Image may be NSFW.
Clik here to view.

PSReadLine: A Better Line Editing Experience for the PowerShell Console

When Windows PowerShell 3.0 shipped, the team created an extensibility mechanism to allow a third party to “take over” the line editing experience.  That hook is a function called PSConsoleHostReadline...

View Article

Image may be NSFW.
Clik here to view.

PowerShell Community Extensions 3.1.0 Released

We released a minor update to PSCX that adds support for Windows PowerShell 4.0 in addition to its support for PowerShell 3.0.  You can grab the updated bits for your shiny new Windows 8.1 or WMF 4.0...

View Article

Image may be NSFW.
Clik here to view.

PowerShell V5 New Feature: Protect/Unprotect-CmsMessage

Windows PowerShell V5, due out sometime in 2015, sports a number of new features: OneGet, PowerShell Get, enhanced DSC, ConvertFrom-String, support for authoring classes in PowerShell script,...

View Article
Browsing index pages (64 articles)


Latest Images