6 ways to extract the computer name from a network file path with PowerShell
(and a sprinkle of Regex) The Aim They say that a good definition of madness is doing the same thing over and over and expecting different results. Surely then another definition of madness is do a thing perfectly well once…
Sorting Unknown Images With PowerShell
The Problem You’ve got a large amount of binary files. Some are images but you’ve no idea which ones. Some will be gifs, some jpegs, some bmp and other strange formats. They’ve been dropped on you without file extensions. Perhaps…
PowerShell Join-Path with multiple parameters
In my day to day job I use a fair amount of PowerShell. Some might say the deployment process is mountains of PowerShell glued together by Team Foundation Server. Cruel but accurate. I don’t make any claims to be a…