Fibonacci Series in Powershell

Scott Hanselman recently posted The Weekly Source 13 - Fibonacci Edition. . It was a very interesting read, but it was missing the Powershell version. As in the Ruby example, you can use multiple assignments in Powershell as well
Function Get-Fib ($n) {
     $current = $previous = 1;
     while ($current -lt $n) {
           $current,$previous = ($current + $previous),$current}
Get-Fib 100
Bruce's book, Powershell in Action, uses a slightly more terse version of this function in his discussion of multiple variable assignment.

.NET Rocks ! – IT Pros AND Developers

The concept of IT Pros VS Developers is an idea that simply needs to die. IT Guys/Gals need Developers and Developers need IT folks.

I was listening to .NET Rocks the other day. As they were reading one of their fan's emails on the air I thought it sounded really familiar. Pretty quickly I realized that they were reading an email I had sent them about a month ago and had forgotten about.

Basically, my email was talking about how using Powershell has enabled me to jump into the world of .NET and start playing around with C#. This has enabled me to have much more meaningful conversations with Developers in my department. I have been learning their language, if you will.

The way I see it, the IT Pro is going to be doing more and more automation and the more we know about writing code, or at least how it is written, can only help us in our careers.

As IT Pros, we can have discussions about instrumentation requirements for an app that we will need to support way more effectively if we understand the basic capabilities of building instrumentation and management into an app in the first place. Maybe its getting familiar with System.Diagnostics.EventLog or learning a little bit about tracing. Maybe its understanding how MOM management packs are created. With SCOM 2007, developers can very easily create management packs now.

In fact, Carl and Richard were talking to David Aiken about this very topic on this episode of DNR

You know you are addicted to coffee when …

You pull up to your local Starbucks drive through and order a Venti drip.  When you pull up to the window to pay and pick up your coffee, you notice you have an old cup of coffee in your cup holder. It just so happens to be another Starbucks cup. You politely ask the barista if she would be so kind as to throw it away and laughing, she graciously obliges.