Monthly Archives: November 2013

Uncategorized

vugen :: run a remote shell script – cmd

Greetings,
Today, I needed to reset IIS on a remote machine as part of my vuser init. Why you ask? Well, every time I start a test, I have to do this manually. You know my motto – “if it needs to be completed more than once, automate!”. Lazy? yes, but thats how I roll. In order to do this, you need to run PSEXEC. Google it, download it, and put it somewhere safe.
read more »

Uncategorized

vugen :: split a string

Another little C function that I find helps me from day to day, which I’ve rewritten about 10 times and never saved, so here it is.
Its pretty basic, but handy. So lets say you have a string…”10/11/2013″ and you want to ‘re-jig’ it to 2013/11/10. There’s a few ways to do it with C string functions, but it all gets a little messy and ugly.
read more »