@kshaw Just to let you know I ended up using this script for it's actual purpose today, rather than just in a testing scenario and worked well for me, so hopefully if you are still in need of it, it might be some use!.

 

Rhodri