The competition from D-dagen at KTH

For a while ago, we visited D-dagen, a yearly career day at the technology school KTH in Stockholm. We had many rewarding conversations with the students and hope to meet you again in the future! Many students took part in a competition we arranged at D-dagen, where you could win headphones. I guess you are certainly curious about who won the competition?

In the competition the students should answer the question: “How many servers have Basefarm overall in the datacenters in Stockholm? We received 51 responses and the correct answer is that we currently have 1348 servers overall in the datacenters in Stockholm! Christoffer Dahlgren and Daniel Swensson guessed closest on 1342 servers, which was really close! Since both Christopher and Daniel had the same response, we have invited them to the office in Stockholm to answer a tiebreaker and make up for the first place 🙂 This will be done shortly and we will then present who won. Keep an eye on the blog!

D-dagen på KTH

Getting the right features

Working as a technician at a solution and hosting provider means that I often need to ask customers what parts of Windows they use. As soon as we meet a new customer we need to understand what parts of Windows they are using and what parts we need to setup in the customers environment in our datacenters.

The old way of doing this is by simply asking the customer. That’s fine but it tends to lead to copy & pasted lists of various pieces of information that really doesn’t make sense for our techies.

If we encounter customers that use Windows Server 2008 R2 it’s super easy. We can then use the power of the shell (PowerShell!) to inventory exactly what roles and features they have installed in their servers. We can ask the customer to run this in their environment:

Import-Module ServerManager
Get-WindowsFeature | Where { $_.Installed } Export-CliXml .\$env.COMPUTERNAME-windows.xml

We then ask the customer to send back the XML file. At our end we can now import the information we need:

$features = Import-CliXml computername-windows.xml

Once we have done that we can exactly see which features they have enabled on their servers.