Posts by Tag

PowerShell

Type less by using PowerShell type accelerators

3 minute read

I had heard the PowerShell term “type accelerators” a few times, but never really knew what that meant. I finally decided to check out the about_Type_Acceler...

A PowerShell function to easily retry any code

9 minute read

Performing retries to make your code more resilient is a common pattern. By leveraging a PowerShell ScriptBlock, we can create a function to avoid constantly...

Run PowerShell as another user

3 minute read

I was looking for a way to run a PowerShell script as another user in our deployment pipeline. There are many reasons you might want to do this; for me I nee...

Get IIS events from Event Viewer using PowerShell

2 minute read

Sometimes services hosted in IIS don’t behave as we expect and we need to dig into what’s happening. If the problem lies in your application’s code, you may ...

Create and test PowerShell Core cmdlets in C#

3 minute read

Creating PowerShell Core cmdlets in C# is actually quite easy, especially when you have a great blog post like this one to reference. There is also some offi...

PowerShell Script To Get Path Lengths

1 minute read

A while ago I created a Path Length Checker tool in C# that has a “nice” GUI, and put it up on CodePlex. One of the users reported that he was trying to use ...

Invoke-MsBuild Powershell Module

7 minute read

Update: I’ve moved this project to it’s own new home at https://invokemsbuild.codeplex.com. All updates will be made there.

Back to Top ↑

Visual Studio

Awesome Visual Studio Videos

less than 1 minute read

I watched an awesome Channel 9 Visual Studio Tips And Tricks video, so I thought I’d share. Some great VS gems in there. Even a few Windows 7 ones, like usin...

Visual Studio Tips and Tricks

less than 1 minute read

Just found a few websites that show some Visual Studio tips that I haven’t seen before, so I thought I’d share:

TFS GoToWorkItem VS command and keyboard shortcut

less than 1 minute read

The button to jump directly to a work item by specifying its ID looks to be on the Work Item Tracking toolbar by default in VS / TFS 2010. This button is not...

Back to Top ↑

Productivity

Type less by using PowerShell type accelerators

3 minute read

I had heard the PowerShell term “type accelerators” a few times, but never really knew what that meant. I finally decided to check out the about_Type_Acceler...

Easily format all files in your VS Code workspace

less than 1 minute read

I recently discovered the awesome Format Files VS Code extension that allows you to format all files in your workspace. Typically you would need to open each...

Use Carnac to show key presses on-screen

less than 1 minute read

Carnac is a free, open source, small utility that displays the keys you press on the screen. This is great for demos, presentations, and screen recordings wh...

Change the default AutoHotkey script editor

3 minute read

The Windows context menu provides an Edit Script option for AutoHotkey .ahk files. Unfortunately, it defaults to opening in Notepad, which is not a great edi...

Master the Windows copy-paste clipboard

7 minute read

Copying and pasting is a common task that pretty much everyone does. Becoming more efficient with it is a great way to improve your productivity.

Git alias to reset local tags

less than 1 minute read

I’ve noticed that VS Code sometimes detects conflicts between my local Git tags and remote ones. This results in a Git error when hitting the small Git sync ...

Watch videos faster and reclaim your time

2 minute read

Your time is valuable, and limited. Many videos we watch, whether they’re conference sessions, DIY instructions, movies, or silly cat videos, can easily be u...

Back to Top ↑

C#

Great Xamarin.Forms workshop from Ignite 2019

1 minute read

I’m lucky enough to attend the Microsoft Ignite 2019 conference this year, and do a pre-conference workshop. The workshop I chose to do was Build your first ...

Create and test PowerShell Core cmdlets in C#

3 minute read

Creating PowerShell Core cmdlets in C# is actually quite easy, especially when you have a great blog post like this one to reference. There is also some offi...

Sweet C# Gems

less than 1 minute read

James Michael Hare has a lot of awesome C# and .Net related posts, so this is just a little shout out to him (and my own little way of bookmarking his blogs ...

My WPF Binding won’t work. WTF!

1 minute read

At one point or another I’m sure we’ve all been confused as to why our binding won’t work. Here’s a couple things to keep in mind:

Setting focus to an element in WPF

less than 1 minute read

So if you are trying to set focus to a WPF element, but are unable to. Here is a quick checklist to go through:

Back to Top ↑

TFS

Using TFS Programmatically

less than 1 minute read

I recently discovered this post which shows how you can programmatically update queries in TFS, which is great for when you make a WIT (Work Item Template) c...

TFS GoToWorkItem VS command and keyboard shortcut

less than 1 minute read

The button to jump directly to a work item by specifying its ID looks to be on the Work Item Tracking toolbar by default in VS / TFS 2010. This button is not...

Solution won’t build on TFS Build Server

1 minute read

If you are able to build (compile) the solution on your local machine, but it won’t build on the TFS build server and you are getting an error message simila...

Back to Top ↑

Build

Fix MSBuild 2015 Compile Taking A Very Long Time

less than 1 minute read

I created the Invoke-MsBuild PowerShell Module (also available in the PowerShell Gallery), and recently added support to use the Visual Studio 2015 version o...

Solution won’t build on TFS Build Server

1 minute read

If you are able to build (compile) the solution on your local machine, but it won’t build on the TFS build server and you are getting an error message simila...

Back to Top ↑

AHK

Change the default AutoHotkey script editor

3 minute read

The Windows context menu provides an Edit Script option for AutoHotkey .ahk files. Unfortunately, it defaults to opening in Notepad, which is not a great edi...

Get up and running with AutoHotkey

4 minute read

AutoHotkey (AHK) is an amazing programming language for automating tasks and keystrokes in Windows. In this post we’ll look at how you can get your first AHK...

Bring up the Windows Terminal in a keystroke

4 minute read

I decided to try out the new Windows Terminal to see how it compared to ConEmu, which is my usual console. The recommended way to get the Windows Terminal is...

Back to Top ↑

AutoHotkey

Change the default AutoHotkey script editor

3 minute read

The Windows context menu provides an Edit Script option for AutoHotkey .ahk files. Unfortunately, it defaults to opening in Notepad, which is not a great edi...

Get up and running with AutoHotkey

4 minute read

AutoHotkey (AHK) is an amazing programming language for automating tasks and keystrokes in Windows. In this post we’ll look at how you can get your first AHK...

Bring up the Windows Terminal in a keystroke

4 minute read

I decided to try out the new Windows Terminal to see how it compared to ConEmu, which is my usual console. The recommended way to get the Windows Terminal is...

Back to Top ↑

Windows

Use Carnac to show key presses on-screen

less than 1 minute read

Carnac is a free, open source, small utility that displays the keys you press on the screen. This is great for demos, presentations, and screen recordings wh...

Find which Windows process has file in use

2 minute read

When a file or directory is in use by a process (application), you will not be able to delete or modify the file / directory. Unfortunately it’s not always o...

Master the Windows copy-paste clipboard

7 minute read

Copying and pasting is a common task that pretty much everyone does. Becoming more efficient with it is a great way to improve your productivity.

Back to Top ↑

Editor

Easily format all files in your VS Code workspace

less than 1 minute read

I recently discovered the awesome Format Files VS Code extension that allows you to format all files in your workspace. Typically you would need to open each...

Change the default AutoHotkey script editor

3 minute read

The Windows context menu provides an Edit Script option for AutoHotkey .ahk files. Unfortunately, it defaults to opening in Notepad, which is not a great edi...

Back to Top ↑

WPF

My WPF Binding won’t work. WTF!

1 minute read

At one point or another I’m sure we’ve all been confused as to why our binding won’t work. Here’s a couple things to keep in mind:

Setting focus to an element in WPF

less than 1 minute read

So if you are trying to set focus to a WPF element, but are unable to. Here is a quick checklist to go through:

Back to Top ↑

keyboard shortcuts

TFS GoToWorkItem VS command and keyboard shortcut

less than 1 minute read

The button to jump directly to a work item by specifying its ID looks to be on the Work Item Tracking toolbar by default in VS / TFS 2010. This button is not...

Back to Top ↑

Visual Studio Extensions

Back to Top ↑

MSBuild

Fix MSBuild 2015 Compile Taking A Very Long Time

less than 1 minute read

I created the Invoke-MsBuild PowerShell Module (also available in the PowerShell Gallery), and recently added support to use the Visual Studio 2015 version o...

Invoke-MsBuild Powershell Module

7 minute read

Update: I’ve moved this project to it’s own new home at https://invokemsbuild.codeplex.com. All updates will be made there.

Back to Top ↑

SQL

Back to Top ↑

Deploy

Back to Top ↑

file

PowerShell Script To Get Path Lengths

1 minute read

A while ago I created a Path Length Checker tool in C# that has a “nice” GUI, and put it up on CodePlex. One of the users reported that he was trying to use ...

Back to Top ↑

Visual Studio Code

Easily format all files in your VS Code workspace

less than 1 minute read

I recently discovered the awesome Format Files VS Code extension that allows you to format all files in your workspace. Typically you would need to open each...

Back to Top ↑

.NET

Sweet C# Gems

less than 1 minute read

James Michael Hare has a lot of awesome C# and .Net related posts, so this is just a little shout out to him (and my own little way of bookmarking his blogs ...

Back to Top ↑

error

Back to Top ↑

Performance

Back to Top ↑

Run As Admin

Back to Top ↑

Windows 8

Back to Top ↑

WordPress

Migrating My GWB Blog Over To WordPress

1 minute read

Geeks With Blogs has been good to me, but there are too many tempting things about Word Press for me to stay with GWB. Particularly their statistics features...

Back to Top ↑

NuGet

Back to Top ↑

Version

Back to Top ↑

Package

Back to Top ↑

Build Server

Solution won’t build on TFS Build Server

1 minute read

If you are able to build (compile) the solution on your local machine, but it won’t build on the TFS build server and you are getting an error message simila...

Back to Top ↑

solution

Solution won’t build on TFS Build Server

1 minute read

If you are able to build (compile) the solution on your local machine, but it won’t build on the TFS build server and you are getting an error message simila...

Back to Top ↑

Extension

Easily format all files in your VS Code workspace

less than 1 minute read

I recently discovered the awesome Format Files VS Code extension that allows you to format all files in your workspace. Typically you would need to open each...

Back to Top ↑

Checkin Policies

Back to Top ↑

project

Back to Top ↑

ClickOnce

Back to Top ↑

Password

Back to Top ↑

Automatic

Back to Top ↑

script

Invoke-MsBuild Powershell Module

7 minute read

Update: I’ve moved this project to it’s own new home at https://invokemsbuild.codeplex.com. All updates will be made there.

Back to Top ↑

directory

PowerShell Script To Get Path Lengths

1 minute read

A while ago I created a Path Length Checker tool in C# that has a “nice” GUI, and put it up on CodePlex. One of the users reported that he was trying to use ...

Back to Top ↑

Create

Back to Top ↑

New

Back to Top ↑

Profile

Back to Top ↑

Checkin

Back to Top ↑

Team Foundation Server

Back to Top ↑

XAML

My WPF Binding won’t work. WTF!

1 minute read

At one point or another I’m sure we’ve all been confused as to why our binding won’t work. Here’s a couple things to keep in mind:

Back to Top ↑

compile

Solution won’t build on TFS Build Server

1 minute read

If you are able to build (compile) the solution on your local machine, but it won’t build on the TFS build server and you are getting an error message simila...

Back to Top ↑

tips and tricks

Awesome Visual Studio Videos

less than 1 minute read

I watched an awesome Channel 9 Visual Studio Tips And Tricks video, so I thought I’d share. Some great VS gems in there. Even a few Windows 7 ones, like usin...

Visual Studio Tips and Tricks

less than 1 minute read

Just found a few websites that show some Visual Studio tips that I haven’t seen before, so I thought I’d share:

Back to Top ↑

batch file

Back to Top ↑

Automate

Back to Top ↑

Run at Startup

Back to Top ↑

CSharp

Back to Top ↑

Email

Back to Top ↑

Geeks With Blogs

Migrating My GWB Blog Over To WordPress

1 minute read

Geeks With Blogs has been good to me, but there are too many tempting things about Word Press for me to stay with GWB. Particularly their statistics features...

Back to Top ↑

GWB

Migrating My GWB Blog Over To WordPress

1 minute read

Geeks With Blogs has been good to me, but there are too many tempting things about Word Press for me to stay with GWB. Particularly their statistics features...

Back to Top ↑

GUI

Back to Top ↑

Minimum

Back to Top ↑

Required

Back to Top ↑

command line

Back to Top ↑

Database

Back to Top ↑

parameter

Back to Top ↑

Publish

Back to Top ↑

SSDT

Back to Top ↑

module

Invoke-MsBuild Powershell Module

7 minute read

Update: I’ve moved this project to it’s own new home at https://invokemsbuild.codeplex.com. All updates will be made there.

Back to Top ↑

multi line

Back to Top ↑

multiline

Back to Top ↑

Zip

Back to Top ↑

XML

Back to Top ↑

Console

Back to Top ↑

Explorer

Back to Top ↑

File Explorer

Back to Top ↑

Path

PowerShell Script To Get Path Lengths

1 minute read

A while ago I created a Path Length Checker tool in C# that has a “nice” GUI, and put it up on CodePlex. One of the users reported that he was trying to use ...

Back to Top ↑

Registry

Back to Top ↑

Windows Explorer

Back to Top ↑

Windows PowerShell

Back to Top ↑

assembly

Back to Top ↑

dll

Back to Top ↑

pack

Back to Top ↑

Subscription

Back to Top ↑

Comment

Back to Top ↑

ISE

Back to Top ↑

PowerShell ISE

Back to Top ↑

Windows PowerShell ISE

Back to Top ↑

Variable

Back to Top ↑

Custom

Back to Top ↑

TF

Back to Top ↑

Commit

Back to Top ↑

Delete

Back to Top ↑

Remove

Back to Top ↑

object

Back to Top ↑

Application

Back to Top ↑

IIS

Get IIS events from Event Viewer using PowerShell

2 minute read

Sometimes services hosted in IIS don’t behave as we expect and we need to dig into what’s happening. If the problem lies in your application’s code, you may ...

Back to Top ↑

Team Foundation

Back to Top ↑

Settings

Back to Top ↑

GitHub

Back to Top ↑

VSTS

Back to Top ↑

Software Development

You don’t scale, so don’t be a hero

4 minute read

I’ve been writing code since 1999; professionally since 2009. For many years I put in 60+ hours a week at my job. I was young. I was committed. And most impo...

Back to Top ↑

Ignite

Ignite 2019 mass session download script

less than 1 minute read

The Microsoft Ignite 2019 conference has ended, and you know what that means. Time to mass download all the sessions you missed!

Great Xamarin.Forms workshop from Ignite 2019

1 minute read

I’m lucky enough to attend the Microsoft Ignite 2019 conference this year, and do a pre-conference workshop. The workshop I chose to do was Build your first ...

Back to Top ↑

Learning

Ignite 2019 mass session download script

less than 1 minute read

The Microsoft Ignite 2019 conference has ended, and you know what that means. Time to mass download all the sessions you missed!

Back to Top ↑

Azure DevOps

Awesome Azure DevOps resources

2 minute read

I’m a huge fan of Microsoft’s Azure DevOps. As a developer, it’s a single place that allows me to do everything. It stores my code, tracks my project ideas a...

Back to Top ↑

Continuous Integration

Back to Top ↑

Windows Terminal

Bring up the Windows Terminal in a keystroke

4 minute read

I decided to try out the new Windows Terminal to see how it compared to ConEmu, which is my usual console. The recommended way to get the Windows Terminal is...

Back to Top ↑

Git

Git alias to reset local tags

less than 1 minute read

I’ve noticed that VS Code sometimes detects conflicts between my local Git tags and remote ones. This results in a Git error when hitting the small Git sync ...

Back to Top ↑

IDE

Back to Top ↑

EditorConfig

Back to Top ↑

VS Code

Easily format all files in your VS Code workspace

less than 1 minute read

I recently discovered the awesome Format Files VS Code extension that allows you to format all files in your workspace. Typically you would need to open each...

Back to Top ↑

Social

Back to Top ↑

Azure

Back to Top ↑

features

Back to Top ↑

shortcuts

Back to Top ↑

focus

Setting focus to an element in WPF

less than 1 minute read

So if you are trying to set focus to a WPF element, but are unable to. Here is a quick checklist to go through:

Back to Top ↑

setting focus

Setting focus to an element in WPF

less than 1 minute read

So if you are trying to set focus to a WPF element, but are unable to. Here is a quick checklist to go through:

Back to Top ↑

snoop

Setting focus to an element in WPF

less than 1 minute read

So if you are trying to set focus to a WPF element, but are unable to. Here is a quick checklist to go through:

Back to Top ↑

Binding

My WPF Binding won’t work. WTF!

1 minute read

At one point or another I’m sure we’ve all been confused as to why our binding won’t work. Here’s a couple things to keep in mind:

Back to Top ↑

Dependency Object

Back to Top ↑

memory leak

Back to Top ↑

Value Changed

Back to Top ↑

ValueChanged

Back to Top ↑

Friendly Name

Back to Top ↑

VSCommands

Back to Top ↑

sln

Back to Top ↑

unload

Back to Top ↑

TFS Power Tools

Back to Top ↑

TreeDiff

Back to Top ↑

query

Using TFS Programmatically

less than 1 minute read

I recently discovered this post which shows how you can programmatically update queries in TFS, which is great for when you make a WIT (Work Item Template) c...

Back to Top ↑

WIT

Using TFS Programmatically

less than 1 minute read

I recently discovered this post which shows how you can programmatically update queries in TFS, which is great for when you make a WIT (Work Item Template) c...

Back to Top ↑

path too long

Back to Top ↑

SQLCMD

Back to Top ↑

Team Foundation Database

Back to Top ↑

multiple core

Back to Top ↑

parallel

Back to Top ↑

merge

Back to Top ↑

merge tool

Back to Top ↑

Visual Studio 2012

Back to Top ↑

VS

Back to Top ↑

VS 11

Back to Top ↑

AlphaEffect

Back to Top ↑

BasicEffect

Back to Top ↑

XNA

Back to Top ↑

Check

Back to Top ↑

Drop

Back to Top ↑

If Exists

Back to Top ↑

Schema

Back to Top ↑

SQL Server

Back to Top ↑

app.config

Back to Top ↑

configuration

Back to Top ↑

section

Back to Top ↑

Classic Shell

Back to Top ↑

Start

Back to Top ↑

Start Button

Back to Top ↑

Start Menu

Back to Top ↑

Reply All

Back to Top ↑

Scheduled Tasks

Back to Top ↑

Task Scheduler

Back to Top ↑

No Password

Back to Top ↑

document

Back to Top ↑

network drive

Back to Top ↑

Sharepoint

Back to Top ↑

storage

Back to Top ↑

Command

Back to Top ↑

Command Picker

Back to Top ↑

Picker

Back to Top ↑

Latest

Back to Top ↑

Update

Back to Top ↑

.sqlproj

Back to Top ↑

argument

Back to Top ↑

DB

Back to Top ↑

input

Back to Top ↑

input box

Back to Top ↑

message box

Back to Top ↑

prompt

Back to Top ↑

7zip

Back to Top ↑

Archive

Back to Top ↑

Compress

Back to Top ↑

element

Back to Top ↑

exist

Back to Top ↑

node

Back to Top ↑

null

Back to Top ↑

SelectNodes

Back to Top ↑

SelectSingleNode

Back to Top ↑

GoDaddy

Back to Top ↑

Context Menu

Back to Top ↑

Default

Back to Top ↑

Double Click

Back to Top ↑

Execute

Back to Top ↑

Open With

Back to Top ↑

Right Click

Back to Top ↑

Space

Back to Top ↑

Spaces

Back to Top ↑

spec

Back to Top ↑

360

Back to Top ↑

Free

Back to Top ↑

Games

Back to Top ↑

Gold

Back to Top ↑

Live

Back to Top ↑

Xbox

Back to Top ↑

Xbox 360

Back to Top ↑

Addon

Back to Top ↑

PS

Back to Top ↑

PS ISE

Back to Top ↑

Uncomment

Back to Top ↑

After

Back to Top ↑

Automatically

Back to Top ↑

push

Back to Top ↑

Tab

Back to Top ↑

Dot

Back to Top ↑

Name

Back to Top ↑

Period

Back to Top ↑

Property

Back to Top ↑

Special Character

Back to Top ↑

Git-Tf

Back to Top ↑

Internal error

Back to Top ↑

Centralize

Back to Top ↑

Centralized Package Management

Back to Top ↑

Download

Back to Top ↑

Dependency