PowerShell Basics

where syntax

This type of construction has been part of PowerShell since the very beginning: Get-Process | where {$_.Handles -gt 500}   Get some data and...

read more

Rolling back time

  There are many situations where you want to roll the date back – checking a file’s last access time, processing event logs, checking a...

read more

Select and List

There are many times when I need to do something like this: get-Whatever | select –first 1 | format-list –property * Normally its because I need to...

read more

Bitten by a typo

Got caught by a silly typing mistake that caused a bit of head scratching until I tracked it down. A common scenario is adding an element $y to an...

read more

Fun with prompts

At the PowerShell Jumpstart event there were a lot questions asking how Jeffrey Snover managed to get a dollar sign – $ – as his prompt. A lot of...

read more