A Celebration, if You Can Figure it Out

We were talking about a very cool astrological date on the internal PowerShell mailing list recently. In celebration of this event, Josh Rowe made this brilliant comment. See if you can figure out what it does :)

clear;$00=(0..1250|%{9608}),(0..7645|%{9617})|%{$_};(-10..29)|
%{$OO='';$O0=$_;-10..64|%{$0O=$_;$OO+=[char]($00[$0O*$0O-48*$0O+
1720+4*$O0*$O0-96*$O0],@($00[$0O*$0O-52*$0O+1644+4*$O0*$O0-88* …
Read more

PowerShell Book Reviews

There have been a handful of useful posts recently giving reviews across the spectrum of PowerShell books. I always love reading these posts, as they let you compare and contrast the whole range of quality and approaches. When reading reviews that focus only on a single book, it’s sometimes hard to calibrate – does the reviewer get this excited about blank reams of paper? Slag Shakespeare for his typos?

My favourite …

Read more

The PowerShell Pay-it-Forward Award

As I was going through some things, I realized that I have a handful of author copies of my PowerShell Cookbook remaining. There are several of the first edition, several of the second edition, and several of the pocket references. After thinking about what to do with them, I hereby announce the PowerShell Pay-it-Forward Award. If you would like a free signed copy of any of these books, I have a simple request. Go …

Read more

Breaking Hash Codes - Part I

When we last left off, we discussed hash codes - a small unique identifier for an item based on its properties or features. There are many different ways to calculate unique identifiers for items. These different ways are called Hash Algorithms. Each serves a different purpose, but some popular ones right now are are MD5, SHA1, and SHA256. Why so many? The reason is security. Our last post finished with the question: …

Read more

Ubisoft Rocksmith Review

On Tuesday of last week, Ubisoft released Rocksmith: an XBOX / PS3 / PC guitar game with a twist.

You play a real guitar.

You learn the real notes.

Your fingers hurt just like every great guitarist before you.

image

For some context, guitar has been part of my life for a long time – although my proficiency with it has waxed and waned (currently waning). I made the most progress with classical guitar, but ran into a cliff of …

Read more

PowerShell Wallpapers

Shay Levy, one of PowerShell’s great MVPs, has been crafting sweet PowerShell desktop backgrounds for years now. One thing I’ve always loved is that they seem to carry a message. His first wallpaper was a screaming crowd. In my head, they are people chanting for the power of PowerShell, or the IT rock star that saved the deployment. It’s been my background since he posted it, and has graced many a …

Read more

Developing for an International Audience

One aspect of software development (scripting included) that burns every single developer is developing for an international audience.

The most common cause of problems come from incorrect handling of dates and numbers, but there are many more.

I first cut my teeth on the topic when working on Encarta Online, via bugs teaching me the hard way! After that, I took some time to read the excellent documentation on MSDN …

Read more

Enforcing Single-User Access to PowerShell Remoting

I got a question today with an interesting request – “How do I ensure that only one user can access a machine via PowerShell Remoting at a time?”

We do have direct functionality to limit multiple sessions, but it that limit applies to sessions by the same user - see: MaxShellsPerUser for full detail about that setting. If you are doing some sort of self-service portal where everybody shares the same local username / …

Read more

Organizational Awareness with PowerShell

One of the things that’s always unsettled me a bit in a big organization is keeping yourself informed about changes that you care about, even when those changes never end up making it through the grape vine. For example:

  • Promotions. Of course you want to congratulate them!
  • Transfers. Finding out that a team has moved to another manager, but no “re-org” mail to let you know.
  • Leaving the company. Finding out that a …
Read more

WMRRA Taste of Racing

Last week, a co-worker mentioned a event being offered again by WMRRA (Washington Motorcycle Road Racing Association) – the “Taste of Racing”.

227781_1684774685881_1433050347_31322912_7171556_n[1]

For $20, you get to bring your bike on the track for 20 minutes. A handful of control riders take you through some familiarity laps (and keep things under control during the ride.)

222216_1684774925887_1433050347_31322913_1833109_n[1]

But then it’s just you and wide-open road.

You know those days when you get an on-ramp all to …

Read more