Grrr source code, including Invaders
As you may have noticed, there has been very little activity here from me in recent months. This is partly because my full time work does not use nor need PowerShell and my free time has become more precious. Playing with PS1 has been fun and I’ve learned a lot,…
Google going down the pan
Not PowerShell related in any way (unless you can think of something) but this did make me laugh. http://www.google.com/tisp/ I especially like the FAQ on why it’s free 🙂
Cmdlet clashes
One of the things that struck me whilst developing Grrr as a snapin is: what do you do when you have a cmdlet with the same verb-noun pair as an existing cmdlet? If someone else had a cmdlet called, say, out-banner, and that cmdlet was already loaded in a snap-in…
Grrr 1.1 and Big Invaders
So I’ve been spending a bit of time getting to grips with Cmdlets and resurrecting interest in PSInvaders using Grrr and now have something to post. Grrr 1.1 is now Cmdlet based and comes as a Snap-In. The most obvious benefit from this is performance, as I can now present…
Grrr, Cmdlets and PSInvaders revival
Still not much happening here, again partly due to being busy with other things, and also the final arrival of my Wii. Anyways, I’ve almost completed the transition of Grrr to Cmdlets and it’s looking very promising as this screen shot shows (I get 50fps with only 20% cpu load…
Slow week
Not much happening here on the blog this week as I’ve been a bit busy with other things and also on some non-trivial PowerShell projects: A snap-in version of Grrr – I realised that PowerShell alone is just too slow for it to be useful, so thought I’d have a…
IRC chat bot and monitor
Last weekend, I asked my wife if she could think of anything inappropriate or unusual to do with PowerShell. She came up with some good ideas and one of them was to write a chat/IM client. A full client takes time, so with a nod toward PowerShell’s administrative uses, I…
Debug and Verbose colouring
Over the weekend, I set about writing an IRC chat client/channel monitoring tool in PowerShell (more on that in a day or so) and one of the things I was doing a lot was writing verbose and debug information to the console. By default, Write-Verbose and Write-Debug cmdlets write nothing…
Making functions *really* read-only
Over at the excellent PowerShell Team Blog, Bruce Payette wrote about Controlling PowerShell Function (Re)Definition. However, making a function constant does not prevent it from being shadowed in child scopes. Given that a child scope is created in any script, new function definition or script block, this makes it very…
Updated get-bufferhtml
A while back, I posted an article: Console screen grabs in html. I fixed some bugs and added a couple of new features to the script get-bufferhtml.ps1, and have updated the article with examples. Enjoy!