ps1.soapyfrog.com

doing inappropriate things with powershell

Pages

  • About
  • Downloads
  • Archives

Search

Popular Posts

  • Grrr 1.1 and Big Invaders
  • Space Invaders
  • Convert images to text (ASCII art)
  • Cmdlet clashes
  • Console screen grabs in html

Recent Posts

  • Grrr source code, including Invaders
  • Google going down the pan
  • Cmdlet clashes
  • Grrr 1.1 and Big Invaders
  • Grrr, Cmdlets and PSInvaders revival

Categories

  • Announce (7)
  • Cmdlets (2)
  • Cool (16)
  • Grrr (6)
  • Hint (2)
  • Invaders (5)
  • Odd (2)
  • PowerShell (27)
  • Quiz (3)
  • Rant (7)
  • Uncategorized (1)
  • Utility (5)

Months

  • August 2007 (1)
  • April 2007 (1)
  • March 2007 (1)
  • February 2007 (3)
  • January 2007 (25)
  • December 2006 (1)

Bookmarks

  • Blogroll
    • $script Fanatics
    • blog.soapyfrog.com
    • Brian Long
    • Lee Holmes
    • Nik Crabtree
    • PowerShell-Scripting (French)
    • Richy Rich
    • The PowerShell Guy
    • Windows PowerShell
  • Links
    • Carbon-neutral web hosting!

Meta

  • Log in
  • Posts RSS
  • Comments RSS
  • Valid XHTML
  • Valid CSS
PowerShell is slow »
 

Happy New Year

31 Dec 2006 10:38 am// Announce    

Just over half a day left of 2006 here in London, the weather is cold, windy and wet, the coffee is on, and I write my first post!

I’ve been using PowerShell (abbreviated to PS1 from now on) since it was RTW (released to web) some time at the end of November 2006. A few of my colleagues also starting playing with it, and as some of us were unix/Mac people, we set about mocking it :-).

Speaking for myself, I was quite impressed but less so with the documentation and other online resources. I’ve also become less and less impressed with it over the last several weeks, but then it’s quite common for the shine to wear off new toys.

First Impressions

A pipeline - yay!
Scripting .NET and COM
Looks like it might have closures and rubyesque features.

Second Impressions

It didn’t have have closures after all.
Very very slow
snip

Space Invaders

Anyway, this didn’t stop me trying to do inappropriate and silly things with it. e.g., getting the MS Agent (Merlin etc.) to insult you.

It’s always been a pet hobby of mine to try to write Space Invaders in any new language I learn. Usually it just goes as far as writing something that moves the alien hoard in an authentic way, as you don’t really get input event support in languages like COBOL or CMD.EXE batch language.

Joy! PS1 gives you access to the host console via $host.ui.rawui, so the work began.

Between myself and 3 colleagues, we did get a perfectly playable version of Space Invaders, and I plan to put it up here in a future post.

That’s it for now. Happy PS1 scripting in 2007!

2 comments to “Happy New Year”

  1. On 06 Jul 2007 at 6:14 am, Bai said:   

    Bai…

    …

  2. On 31 Dec 2007 at 2:15 pm, blog.soapyfrog.com » 2007 said:   

    [...] also started a new blog and later ended it. Of course, I also started this [...]

Copyright © 2006-2008 Adrian Milliner

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 License.