Rapture in Everything

Posts tagged "scripting"

Manipulate MSMQ with PowerShell

I´ve recently published an open source MSMQ component for the SQL Server Integration Services [https://zblesk.net/blog/2015/02/08/msmq-reader-component-for-ssis/]. While working on its implementation (and other, related things), I’ve created some PowerShell utilities for queue manipulation. Now I’m consolidating them and putting them here, too. I’ts just a single ps1 file [https://github.com/zblesk/scripts/blob/master/queue.ps1]. Why? A valid question. After all, there already are [https://tech...

Scripted text processing

When working on the last project at work, my tasks were often defined poorly. I had to make web services that would accept complicated data structures, but I only had one example file to go by. The file got updated from time to time, but never came as a valid XML – some can hardly be convinced you can’t just write strings instead of numbers or put a “-” anywhere in the file and expect it to be valid. So I had to process every file by hand. And by “hand”, I of course mean regexes or Python, just...