New version of CCC coming up!

All CCC versions available at

I’m currently in the process of finalizing the next version of CCC. This time I’ve had some help from another developer who’s name is Robin Granberg. I’ll let him introduce himself in another post, all I know about him is that he works at Volvo in Köping here in Sweden. And that he can code stuff in batch-files of course.

We’ve developed some really nifty features in this version, but I won’t tell you anything until it’s released though. In true “under-promise, over-deliver” manners. I think this will be the last version for Windows Server 2008 Core. There will most likely be a separate version for Windows Server 2008 Core R2, since some of the commands syntax has changed.

I’m also looking at another script for Hyper-V Server, there is a version available out of the box, but I have some more tricks up my sleeve. I just have to check if it actually works good enough for a release into the wild.

TechDays in Sweden

TechDaysYou haven’t missed that Microsoft Sweden is arranging TechDays next year, have you? The TechDays format has been used in other countries before but this is the first one in Sweden. The show is in Västerås, Sweden, 17-18:th of March and the program contains amongst other things this list:


  • Windows Azure (cloud based services)
  • Virtualization
  • Windows Server 2008 and Windows Server 2008 R2
  • Windows Vista and Windows 7
  • Office 2007
  • WPF and Silverlight
  • Exchange 2007
  • Forefront, codename “Stirling”
  • Unified Communications
  • Data management with System Center
  • Business software
  • Identity and access Management
  • News in .NET Framework
  • Cloud services in the Windows Live platform
  • And the list of speakers looks like this at the moment (including myself):

  • Patrik Löwendahl
  • Marcus Murray
  • Hasain Alshakarti
  • Mikael Nyström
  • Johan Arwidmark
  • Kent Nordström
  • Björn Axell
  • Anders Bengtsson
  • Ronald Bekkelaar
  • John Howie
  • Andy Malone
  • Beat Schwegler
  • Steffen Krause
  • Elisabeth Stjernstoft
  • Tess Ferrandez

    You can read more over at in Swedish.

    Be there!

    Powershell + WMI = null

    Having spent a bunch of hours programming Powershell with WMI for managing Hyper-V hosts I’ve come to realized that running pre-beta software can be a pain when it comes to developing. The usual Powershell / WMI combination didn’t return a single machine. When testing on a standard Windows Server 2008 it did of course work immediately. I spent at least 2 hours troubleshooting my script with the WMI Explorer, WMI CIM Browser and all the other usual WMI tools before going to the serverroom to check on one of our Hyper-V hosts.

    The Powershell / WMI combination looks like this:

    $Server = ‘localhost’
    $VM_Service = get-wmiobject -computername $server -namespace rootvirtualization Msvm_VirtualSystemManagementService
    $ListofVMs = get-wmiobject -computername $server -namespace rootvirtualization Msvm_ComputerSystem | where {$_.ElementName -like ‘*’}
    foreach ($VM in $ListofVMs)

    Saving this with a .ps1-ending and running it from Powershell on a Windows Server 2008 Hyper-V host will return the virtual machines hosted on that machine.

    If you were to run this on a Windows Server 2008 R2 Hyper-V host, nothing gets returned. A bug is filed, now I’m just waiting to see if it ends up with a fix or if I’ll have to recode the scripts that are working now.

    TechEd Barcelona – The End

    So this is the end of this week. It has been a wonderful experience and I’ve met a lot of nice people. Now I also now that well prepared pays off!

    Some pictures from the Speaker Reception Friday night:

    One happy Swede, getting first place in the Security-track

    Nyström, not quite as happy but he came around eventually

    Arlindo was track owner for Windows Server.


    I’d like to say sorry to Sander Berkouwer, whom I still owe a beer. Thanks to: Symon and Dan for the dinner. Nyström & Alshakarti for taking care of me and showing me where to go and when and why. Arwidmark for the feedback and moral support on Wednesday. Murray for the champagne. Strandberg for the photography. Isacsson, Anderberg and Alves for the trust. Everyone who showed up at my sessions and for all the great feedback. My GF who’s been a wonderful support and let me work 24/7, I’ll be home Sunday!


    I got two PD’s this year, which was fun. The second one was better than the first, but that’s probably nerves. Here’s some pictures from the first one:



    For those of you who attended either of my sessions and asked for the scripts, here they are.


    If you have any questions about clustering or Server Core I recommend where a lot of people, including me, answer questions every day.

    My demo environment looked like this:

    AD was and my iscsi-target host was named techstore01.
    Network used was

    If you have any questions regarding clustering I recommend


    Here are the top 10 lists from the event regarding Product Demonstrations (PD). My session “Building a failover cluster with Windows Server 2008 Core” ended up on sixth place based on overall satisfaction and ninth based on presenter effectiveness. This is out of 40 sessions in total and it’s my first year speaking, so I’d be lying if I said I’m disappointed. Congratulations to Hasain from Truesec who got place 4 with his session “Server and Domain isolation”, he finished first in the Security-track so it was two happy Swedes in the speaker lounge. (click for bigger picture)


    This list is the top sessions in the Product Demo-track for Windows Server, where I actually ended up as #1. (And also last place) I guess I could’ve done a worse result and I hope my track owner Arlindo is happy about the performance. (click for bigger picture)

    Time for dinner and a beer or two here in Barcelona before it’s time to pack the bag. See you next year in Berlin? Or at any other TechEd maybe? We’ll see what the future holds…

    Come in, we're open

    Monday afternoon here in a sunny Barcelona. Sitting at the keynote of TechEd after some meetings and a walk in the sun. (Delayed post due to technical difficulties. My Windows didn’t like my camera…)

    The keynote has been about Oslo, Kidaro, Hyper-V server, Windows Server 2008 R2, Live Migration in Hyper-V and at this moment we’re being showed System Center Operations Manager with the cross platform extensions which will extend the functionality into the *nix community.

    We’ve been told some “news” about Windows Server 2008 R2 and Windows 7, so I guess now that the technical details are official it’ll be ok to blog about it too. Have some interesting stuff lined up, and some new videos, but I’m still waiting for the official green light.

    What’s to read at other places I’m sure I can repeat though. So when Windows Server 2008 R2 comes along, be sure to check out Direct Access and Agile VPN which’ll revolutionize the way we build our networks and how we connect to our workplace. Branch cache will definitely be a winning concept for those with branch offices and low available bandwidth. The Live Migration concept for Hyper-V is also a really nice feature which is much needed.

    I’ve also checked in at the speaker lounge and collected my speaker shirts. I highly doubt that they’ll fit, but I’ll try one on tonight. Scheduled for tech check Wednesday morning, and I’ll be speaking in the room we’re sitting in right now, 112. This is a big room. It’ll be fun!

    Some pictures from TechEd:

    Some simulator-racing to get people to your booth…


    Speaker Idol-contest in session, with Mikael Anderberg from Microsoft Sweden as one of the judges.


    The keynote, we got to sit in the overflow room…