If you need to test your code against the (ahem) interesting interpretations of the various iterations of Internet Explorer then this is a great resource for you.
Turns out Microsoft have thrown web devs a bone by offering free virtual machine images with the various IE/OS flavours for you to test on. You can download them here.
If you use VirtualBox and also a *nix based operating system such as Linux or OSX then you can use this, frankly awesome, bash script to automatically download one or all of these machines and fully set them up in VirtualBox for you.
VirtualBox, if you are not aware, is a freely available Virtualisation platform allowing you to run other operating systems on your desktop. On todays powerful machines its perfectly easy to run Linux as your core operating system and then for either running windows only apps or for testing dodgy browsers, you can fire up one of these VMs.
Bear in mind that they are not for keeps, you will need to reset them every 30 days due to the fact that they can not be activated. For our purposes though this is not really a problem.
Please note all of this has been copied and pasted from here. Posted here for reference only, all original attribution and credit goes to webupd8.
1. Before proceeding, make sure you have the latest VirtualBox installed – you can find Ubuntu installation instructions HERE. You’ll also need “curl” (for both Linux and OSX) and “unrar” (Linux only). In Ubuntu, install them using the command below:
sudo apt-get install curl unrar
2. To download and run the CODE, use the following command in a terminal:
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | bash
If you want to check out the bash source before running it, you can find it @ GitHub.
The above command will download Windows WHDs for IE7, IE8 and IE9. If you only need one Internet Explorer version, you can run:
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="9" bash
Where “9″ is the IE version you want (you can also add two versions here, like “7 9″).
At this point, the download should start and it will take a while so be patient.