Working with the image module for PowerShell; part 3, GPS and other data

In Part one I showed how my downloadable PowerShell module can tag photos using related data – like GPS position – which was logged as they were being taken, and in part two I showed how I’d extended the module in James Brundage’s  PowerPack for Windows 7. Now I want to explain the extensions which…

1

Exploring the IMAGE PowerShell Module

In part one of this series I showed the finished version of photo-tagging script I’ve been using. I based my work (which is available for download) on James Brundage’s PSImageTools module for PowerShell which is part of the PowerPack included with the Windows 7 Resource kit (and downloadable independently). In this post I want to…

1

GPS, and other kinds of Picture tagging with PowerShell

Well… I have been off for a bit and you can have a read of the previous post for some background on that. During that time I’ve done a lot of walking, taking photos as I go.  Having raved about my HTC Touch pro 2 and its GPS I’ve been using it to GeoTag those…

0

Book Review: Windows Powershell 2.0 Best Practices, Ed Wilson

Last week I watched a TV program called Michelin Stars, The Madness of Perfection it talked about the pressure Chefs put themselves under – sometimes tragically so. The presenter was a restaurant critic and in talking to one of his fellow critics they talked about a problem – not exclusively a Michelin one – where…

1

How to Pretty Print XML from PowerShell, and output UTF, ANSI and other non-unicode formats

PowerShell has been taking more than its fair share of my time of late and I need redress the balance a bit – just not quite yet. Powershell and redirection. I’ve been working on my hyper-V library for codeplex and this has separate files for every command, and then to keep the start-up process for…

1

“Vague is good” revisited: How to make usable PowerShell Functions

Before Christmas I wrote about the conclusion I was forming on PowerShell parameters: Vague is good. The Christmas season is when my parents used to get various kinds of puzzles out and most of my puzzles these day seem to be PowerShell type things rather than Jigsaws and Crosswords. My equivalent of the 1000 piece…

0

The “Joy” of Reg-ex part 3: Select-String

One of the PowerShell tools I’ve been using a lot recently is Select-String : Going through lots of files trying to find a mistake I know is in several of them – can just bang in select-string -SimpleMatch "Split-path" -Path *.ps1 –list | edit Finding text in files is not exactly radical. But Select string…

0

The “Joy” of Reg-ex part 2 – ways I use it

In the previous post I gave some of the background to regular expression and how they might be used. I thought I’d give a few examples. 1. Checking paths. Quite a few of my functions take paths to Hyper-V virtual hard disk files as parameters and I don’t want to force the user to type…

0

The “joy” of Reg-ex part 1.

One of the good things in PowerShell is support for regular expressions – in fact I suspect some Unix sys-admins might laugh their Windows counterparts for not got to grips regular expressions sooner. The downside is that regular expressions are an area which give a lot people a serious headache. So lets start from first…

0

Powershell Parameters 2: common parameters.

In the previous post I talked about the template I have for many of my PowerShell functions. And I’ve talked before about adding support for ShouldProcess to functions which change the state of the system (  that allows  –confirm, -prompt, –whatif and –verbose switches). Since then I’ve learnt that functions can identify the level of…

0