Archive for the ‘Scripting’ Category

PowerMeter from PowerShell

I was trying to get my Home Energy Monitor application working to Google PowerMeter this evening. To get things moving quickly I decided to prototype in PowerShell (as you the full sugary goodness of the .Net framework for free). Here’s the details on accessing PowerMeter from PowerShell… Although it is called Google PowerMeter, it is [...]

Access ODBC Connection Strings

I was working on an old (classic) ASP page the other day. It was pulling data from an Access database file and using an ODBC driver to get the connection. It was working fine on a Windows 2003 server, but when I pulled the file into a local website on my Windows 7 machine (with [...]

Google Results Ranking

Disclaimer: Screenscraping results like this probably contravening Google’s Terms of Use (or something) and I do not advocate that you do it – this is purely hypothetical, if I did want to do it, this is how I would go about it  Further Disclaimer: The results page formats could change at any time and may [...]

Replace in Files for PowerShell

A while back I restructured my website so that this blog no longer started at the root, instead starting from /blog. This was so that I could introduce some other web apps and have a subfolder for projects etc. One of the pains of this restructure was modifying all the links – I thought I [...]

A couple of handy scripts

I have been updating some of my ‘magicwords’ for SlickRun recently. This a great tool for getting focus on a particular task. Instead of having to mess about opening folders, word documents, web sites all in preparation for a task you can enter one ‘magicword’ and have it do all that work for you. For [...]

Todo.txt scripts

I’ve been spending a bit of time at LifeHacker recently, there is some pretty good tips over there (it’s where I found the PointUI for windows mobile 6). One of the posts I came across was this http://lifehacker.com/347269/lifehackers-exclusive-line-of-productivity-software. The Todo.sh command line tool caught my eye, as I always have a todo.txt hanging around on [...]

Flex your scripting fingers

It’s time to flex those scripting fingers and get your brain warmed up – The 2008 Scripting Games are coming. Put a note in your calendars – February 15-March 3, 2008. Stay tuned to the Scripting Games Tips for some (possible) hints and useful techniques that the tasks may involve… GEO 51.4043197631836:-1.28760504722595

New home backup regime

The king is dead, long live the king. Over the Christmas break the license for my beta of Windows Home Server ran out, so I needed an alternative backup / storage solution. I briefly considered Linux with some iSCSI software, Windows with DFS or FRS, or indeed forking out some of my scheckles for a [...]

PowerShell Plus

One of my colleagues switched me on to PowerShell Plus and I’m loving it. Code editor, snippets, values of variables, logging tools and much more, including a really neat feature called ‘MiniMode’ (see the toolbar icon at the extreme right in the image. This ‘MiniMode’ closes all toolbars/toolwindows except the main console but also makes [...]

Scripting Active Directory

I seem to have been dong a lot of scripting work recently – I really should be using PowerShell, but I had limited time to get this stuff done and it needed to pretty generic / simple as it would be implemented by others (some with limited knowledge of scripting / coding).. Anyway, the requirement [...]

Subscribe to RSS Feed Follow me on Twitter!