Adding required Windows features when installing Sitecore 8

Recently I started working with Sitecore 8. One of the things I found out when installing Sitecore on Windows Server 2012 R2 is that it needs a few Windows roles and features as a prerequisite. Finding out which of these Windows roles & features are needed was is quite a challenge. So, to make things easier, I created a PowerShell script which installs all the required Windows roles and features.