Sample all PowerShell Console Colors

I often need to pick console colors to use making host text a little easier to look at (coupled with smart indentation).  The –Foregroundcolor parameter of the Write-Host cmdlet is what I commonly use to set text colors.  I like to use lots of colors, but sometimes I forget what all the colors are and…

9

PowerShell and Kinect for Windows

I put together a script that will allow you to render skeleton joints right in your PowerShell console window.  Kinect sees the skelton and the PS processes it.  The code isn’t really polished yet so I am not ready to post it, but here is a little youtube video example of what it looks right…

4

Is this just wrong? Double Where-Object to use the simplified syntax with –and.

When PowerShell v3 introduced the new simplified syntax for the where-object, at first I really loathed it Get-Process | Where-Object {$_.ws -gt 100MB} can be simplified to this: Get-Process | Where ws -gt 100MB The reason I didn’t like it up front was because you still really have to understand the first more complex example…

0