Jumlin Blog

The coding hell of Dennis V and the daily IT of Niklas Jumlin

February 24th, 2011

I couldn’t find any unpacker that would extract and delete archives for a torrent after a certain period of time or after a certain seed ratio had been reached. I’ve noticed quite alot of people complain about this on, for example, uTorrent’s official forums.

So I wrote this script that will wait for a set amount of hours when a torrent finishes before extracting, deleting archives, moving files into its right location, scraping with EMM or EMM-R (command-line) AND notify XBMC of your new download and update its library.

This script will NOT stop your torrents.
Read the rest of this entry »

October 26th, 2010

A colleague asked me if I could write a script that would move files within a folder or its subfolders that were older than one year into a new location but still keep the directory structure.
I figured it would be quite a challenge so I decided to do it for him; kind as I am =)

As I haven’t been providing this blog with something new in a long time I figured I could make it useful to more people if I added a few things, like different date formats and other various settings.

So here it goes:
Read the rest of this entry »

July 17th, 2010

I was given the task to rewrite the login script for a company, they had 4 sites and about 20 login scripts for various purposes.
So I wrote a general one which took care of all the general stuff.

You may look at my earlier post about an inventory script, because this script will use that one.

Read the rest of this entry »

April 21st, 2010

As far as I know, after some googling I couldn’t find any program that could take backups of Virtual Machines running on Hyper-V Core when the .VHD files were located on a Cluster Shared Storage.

If you read my previous post you can probably understand you aren’t able to install any advanced programs in the Core-version either because many required runtime files and libraries aren’t available.

Therefore I decided to write a PowerShell script that would export the machines to a network storage server.

Updated 2010-05-12 14:40 UTC +1 (Various fixes/Added option to exclude some virtual machines)
Read the rest of this entry »

January 5th, 2010

So I work with many servers and many customers. Usually I had to write a new backup script for every new customer and server. Therefore I figured I might as well just write a template that I can copy/paste everytime I have to implement a robocopy backup script. So here goes.

Read the rest of this entry »

December 23rd, 2009

I’ve already mentioned I work with many customers and servers. Everytime I install a new server that hosts printers I have to handwrite a loginscript that connects/maps the printers on the clients. So I made a template for that as well. There is only a few variables needed to change for it to rock. Check it out.

Read the rest of this entry »

September 17th, 2009

I had a scenario where I wanted to see what was on the network at a location.

So I figured I’d just ping them all, man was this a pain or what! So I wrote a script for it instead. :)

And yes, I know there is alot of IP-scanners out there. But what hacker would I be if I used someone elses programs? I wanted my results in my own custom preferences.

The script was developed further on and now includes hostname lookup and logging to file with identification tags of the current place.
The script will ask all the necessary questions. Its quite useful. Check it out!

Read the rest of this entry »