Windows Server 2016 is now available on Azure

So the day has come when Windows Server have arrived at Microsoft Azure and you can start deploying your new workloads.

You either find the different flavours from the portal or from PowerShell


And the command for finding them with PowerShell AzureRM module is

and running it looks like this:


Good luck in deploying!


AzureStack TP2 – deploy experience

During Ignite 2016 in Atlanta, Microsoft announced the technical preview 2 of AzureStack and finally now this friday I got my hardware available (the dang server was not responding on the ILO port and I had to go to the datacenter to give it a kung-fu-devops-kick) so I could deploy the new bits.

First things first! Read the documentation about how to proceed and you will more likely succeed in your deployment!

The download for AzureStack is 20 GB so if you have a slow internet connection it will take some time!

Before getting started i suggest you to run the pre-check script that can tell you if there is some immediate issues,


And then you can unpack and follow the instructions to prepare to vhd-boot into the cloudbuilder disk with the next script:


Once rebooted you want to make sure that you only have one nic enabled and then kick of the deployment which will take about 2-3 hours if you have a decent hardware like me 😛


As you can see the install process uses both desired state and powershell direct (which is a lovely feature in Hyper-V 2016)


And if you are patient and then log in as a azurestack\AzureStackAdmin on the physical machine you will see the status of the deployment. Do not log in as a local user on the server and try to start the deployment again!

Hopefully you will end up with the same result as me:


And then you can log in to the VM MAS-CON01 to connect to the portal,


Maybe I was lucky but I believe that the Stack-Team has done some serious work since TP1 and the deployment process have been thoroughly developed, tested and works really good now.

Good luck in your deployment of Azurestack TP2!


Upgrade to Windows Server 2016 TP5 – Live migrate from TP4

So the day have come when finally the new TP5 bits have been released! And I of course downloaded and wanted to test to upgrade one of my hyper-v servers in my home lab.

Screen Shot 2016-04-27 at 21.53.33

Once installed I tried to migrate a VM from the hyper-v manager at the new TP5 node, I had of course set up kerberos and delegation before but still it gave me an error. To see if it was just in the GUI or also in PowerShell I tried the same move and got the same issue

Screen Shot 2016-04-27 at 23.26.57

So powershell remoting to the rescue to test that I could live migrate my VM´s from the TP4 to the TP5 and that worked nicely. I will dig some more into if there is an issue with the AD objects or what causes this and do an update if I find anything…

Screen Shot 2016-04-27 at 23.27.44

happy testing!


Configure VM Network settings from the host using Hyper-V 2016

Today I used Ravikanth script for configuring an VM´s NIC settings from the host and can confirm that it works nicely also on a Hyper-V Host with 2016 TP4 and a full-GUI VM and also with VM´s running Nanoserver 🙂

There is a cmdlet in the Hyper-V PowerShell module that is named: Set-VMNetworkAdapterFailoverConfiguration although that configures only the nic for the Hyper-V replicated VM and cannot be used on a ordinary vm. So using the function from Ravi I set the VM´s configuration using the Hyper-V WMI virtualization namespace.

Screen Shot 2016-03-01 at 14.53.00

And trying to set it on a Nano server also works nicely

Screen Shot 2016-03-01 at 15.19.58


Download SysCtr 2016 TP4 VHD´s with PowerShell

I have been using and publishing my script for easily download all the VHD´s for evaluating and testing the technical previews of System Center 2016 and now it is time for the TP4! These pre-installed VHD´s make it quite easy to spin up some of the System Center Suite as VM´s on your Hyper-V box within minutes once downloaded.

Here is the script for your convenience and start playing with the new release!



Creating VM´s with configuration version 5.0 on Hyper-V 2016 TP4

Creating a VM in the GUI on a Hyper-V manager with Windows Server 2016 TP4 makes a VM configuration 7.0 by default and once that is done it is not possible to move the VM to a Hyper-V 2012 R2 box.

So if you have a mixed environment and want to be able to move those VM´s to a 2012 R2 Hyper-V box you will have to use powershell to create that VM instead of the GUI. One alternative way is to create them on that 2012 R2 box and then move it to the 2016 but that is not as cool  😉

in the New-VM cmdlet there is a parameter -Version that you can use and set the configuration version to 5.0 instead of 7 and thus enabling it to be compatible with the older version of Hyper-V.

I have two examples in the screendump below where you can see the result,

Screen Shot 2015-11-23 at 13.43.46

My friend Didier has made a blog post about how you upgrade the configuration version if you do not need this backward compatibility and some new features requires the configuration version 7.

Download SysCtr TP3 evaluation VHD´s with PowerShell

Earlier this week Microsoft released Windows Server Technical Preview 3 and System Center Technical Preview 3 to the masses.

There is also a way to easily test the System Center bits instead of installing everything with prereqs and stuff and that is to use the preinstalled VHD´s that Microsoft and the System Center team provides.

You can find the eval VHD´s here on the download site:

Or you can use my powershell script to download them and import into your Hyper-V server and start playing once downloaded :-D. If there are issues during download you can just start the script again as I check if the file already been downloaded so you will only download each file once and as I use the BITS engine the file appears in the download folder when it is completely downloaded….

Happy playing!!

NanoServer in Windows Server 2016 TP3 – so easy even a monkey can do it

As I described in an earlier post the Technical Preview 3 was released today and I wanted to test things. Apparently there was quite a few more thinking this way as it seems containers vhd takes forever to download but that gave me a reason to look more at the new NanoServer version.

in the TP3 media there is the NanoServer folder and to deploy Microsoft and the Nanoteam has added the PS scripts in that folder making it ridiculously easy to get things up and running (even if my title says monkey I doubt that a chimpanzee  would pull it of?!)

Screen Shot 2015-08-19 at 23.30.51

So I copied the folder to my server and ran the powershell for creating a virtual hard disk and a virtual machine with that disk.. As you can see I added some parameters such as -compute (hyper-v role) and -clustering (for failover cluster role) and name of the nanoserver, in this case I wanted it to be a hyper-v vm so I added the hyper-v integration components also but you could add some other drivers for a physical box NIC´s etc instead.

Screen Shot 2015-08-21 at 14.04.15


The NanoServer team has taking feedback and making a console access that can let you log on and see basic stuff and also enable/disable networking so this looks really promising for the RTM release!

Screen Shot 2015-08-19 at 23.23.02
Screen Shot 2015-08-19 at 23.23.20

and of course you can still use powershell remoting to access and manage that Nanoserver.

Screen Shot 2015-08-19 at 23.43.05

Now time to sleep and tomorrow I will check out the Container stuff!


Windows Server 2016 TP3 alive on Azure

So the day we all have been waiting for is here, Microsoft releases the Technical Preview 3 of Windows Server 2016

This is really exciting news as for example in this build containers is here for us to play with!

Azure have been updated with the image and I immediately went in and created myself a VM with the new bits…

Screen Shot 2015-08-19 at 15.18.23


And as you can see when I have the VM provisioned and log in it is actually the real stuff 🙂


Screen Shot 2015-08-19 at 15.28.25


As you can read on the technet site there is more news besides containers!

I will do a follow up post with more details later!