Google Charts from PowerShell – Part 1
Several people have blogged about using the Google charts api from PowerShell, but everyone seems to be using the “simple” numerical encoding, so I figured that as the first step of my own google chart api wrapper module I would start out by writing up a simple encoder. I’m not posting this to the script [...]
AutoMount Removable Drives in PowerShell v2 (CTP2)
Oisin (x0n) Grehan wrote a module for PowerShell 2 which uses the WMI ManagementEventWatcher and the new event-handling features of PowerShell 2.0 to automatically run scripts whenever you plug in or unplug a removable drive …. specifically, the AutoMount module runs New-PSDrive whenever you plug in a removable, and Remove-PSDrive when you unplug it. The [...]
Helpful Mom goes live!
This is just a short note to let you know that after much persuasion from various of her friends, my wife has started her own blog to write about parenting, being a stay-at-home mother of preschoolers, saving money by shopping smarter, and in general … all the many things she does. It’s called Helpful Mom [...]
PowerShell Power User Tips: A Better Prompt
For this edition of my Power User tips for PowerShell, I’m going to share my (heavily annotated) prompt function. Feel free to to copy useful pieces or just place the whole thing in your profile script I’m not going to say anything more, I’ll let the comments speak for themselves. Edit: Someone just pointed out [...]
Is it Autumn yet?
Well, Microsoft promised these releases would come “this summer” so I guess it’s no surprise that Visual Studio 2009 2008 SP1 is out this week, following closely on the heels of SQL Server 2008 It should go without saying that my favorite feature is the performance increases of between 205 and 45% for WPF-based applications [...]
A cry for help with NHibernate …
I recently decided to bite the bullet and try using code-generating ORM in my projects instead of manually writing my own data access layer (DAL) with custom SQL and everything … and felt that after careful research into the current state of Linq-to-SQL and ADO Entities, etc. I should use NHibernate … Everything went ok [...]
International Travelers Beware: We Will Seize Your Stuff
Fast on the heels of the Chinese government, the Orwellian Department of Homeland Security has officially announced that it is claiming new police powers this week: to seize travelers’ laptops, cell phones, cameras, PDAs, iPods, video tapes, books and even magazines … without any suspicion or probable cause and keep them as long as they [...]
Evernote Click-Through is a Disgrace
Someone earlier today was gushing about how neat Evernote is … it’s a OneNote-like application which features add-ins for browsers and email clients to let you clip text and images, or record voice, take notes in handwriting, etc … and it’s cross-platform and has a version for Windows Mobile and iPhone! I thought it sounded [...]
New PoshCode features from July 2008
So, there’s a few new features in the latest version of the PoshCode script module, and a few new features in the repository itself, including an embed feature, which I will demonstrate by embedding one here. Notice that the scripts on the site have an embed code, and it will normally embed the full height [...]