Last updated by at .

  • What's new in Hyper-V 2016
  • Microsoft Azure

Category: IT

All About IT and Computers


Switch Windows Container to Hyper-V Container

Switch a Windows Server Container to a Hyper-V Container

With Technical Preview 4 of Windows Server 2016 made the new Hyper-V Containers available. With that you can now use Windows Server Container and Hyper-V Container. To run Hyper-V Containers you have to make sure, you have Hyper-V Nested Virtualization active for your Container Host VM.

If you create a new Container it will create a Windows Server Container by default, if you want to create a Hyper-V container you have to switch the RuntimeType to Hyper-V.

With the following command you can see which RuntimeType the Container has:

To change the runtime Type to Hyper-V Container you can use the following command:

So switch it back to a Windows Server Container you can use the following command:

 



Cisco Champion 2016

Cisco Champion 2016

Just had a look at my inbox and found out that I received the Cisco Champion Award for 2016, which is my third Cisco Champion Award in a row, after 2014 and 2015. I feel highly honored to get this award and looking proud into the future. Since I do a lot of Datacenter projects with Microsoft and Cisco technologies I can see that the new partnership between Cisco and Microsoft is really paying off and we can expect even better integration and services from both companies.

Hi Thomas Maurer

 

Because of your impactful and valuable contributions to the IT community, you have been chosen out of hundreds of nominees to be part of the 2016 Cisco Champion program. Congratulations!

 

Cisco Champions are a group of highly influential IT technical experts who enjoy sharing their knowledge, expertise, and thoughts across the social web and with Cisco. The Cisco Champion program encompasses a diverse set of areas such as Data Center, Internet of Things, Enterprise Networks, Collaboration, and Security. Cisco Champions are located all over the world.

 



PowerShell New-TemporaryFile

Create a tempfile with PowerShell

When I was using PowerShell in the early stages it was limited in some features, now with PowerShell version 5 Microsoft added some great new features to it. This time it’s about creating a tempfile. I already wrote a blog post in 2011 how you can create a tempfile in older version of PowerShell using .NET:

With PowerShell 5 you got a native cmdlet for this:



Azure Automation PowerShell ISE Add-on

Azure Automation PowerShell ISE add-on

Microsofts Joe Levy (Program Manager, Azure Automation) just announced in the blog post a new PowerShell ISE add-on for Azure Automation: Announcing the Azure Automation PowerShell ISE add-on. the Azure Automation PowerShell ISE add-on helps you if you are writing PowerShell runbooks for Azure Automation:

In Azure Automation, runbook authoring is typically done in the Azure portal, using our browser-based experience. However, in experimenting with ways to improve our runbook authoring process, we developed a new, open-source tool for runbook authoring – the (take a deep breath) Azure Automation PowerShell ISE add-on!

This project has been in the works for a while and is already used by many of our customers. Now we think it’s finally ready for more exposure and usage. We built this experience because we observed two things:

Our customers heavily use the PowerShell ISE when writing PowerShell
They even use the PowerShell ISE when writing runbooks, copy/pasting back and forth with the portal or importing/exporting with the PowerShell cmdlets
So we thought, why not create an Azure Automation experience that builds on top of this powerful tool? If you’re interested in speeding up your runbook authoring process using tools you’re already familiar with, we hope you’ll give the Azure Automation PowerShell ISE add-on a try!

Installation is very easy, you can get the Azure Automation PowerShell ISE add-on from the PowerShell Gallery:

Install the PowerShell Add-on:

If you want the PowerShell ISE to always automatically load the add-on:

If you just want to load the add-on if you need it run:

 

For more information check out Joe Levy blog post on the Azure blog: Announcing the Azure Automation PowerShell ISE add-on



PowerShell Get-Clipboard

Get and Set Clipboard using PowerShell

PowerShell was always a mighty tool to automate stuff, hut with the first versions we were limited in some functionally. With the release of version 3 and 4 PowerShell got even more powerful. With the latest PowerShell version 5, which is included in Windows Server 2016 and Windows 10 and also can be downloaded for older versions of Windows, Microsoft added some cool new functionality. The first thing I am writing about is the Set-Clipboard and Get-Clipboard cmdlets. The cmdlets allow you to get access to the clipboard of your Windows machine.

For example if you use CTRL + C or Copy the files from explorer:

Get-Clipboard File Explorer

You can use this cmdlet:

PowerShell Get-Clipboard

This also works of course with other file types:

PowerShell Get-Clipboard Image

Great new addition to PowerShell!



Hyper-V VM Switch

Change Hyper-V VM Switch of Virtual Machines using PowerShell

This is one of the first post of a short blog series with some simple PowerShell scripts and oneliners for Hyper-V. One this is how you can connect a Virtual Network Adapter of a Hyper-V Virtual Machine to another Virtual Switch.

This is very simple, with this command you can see all the Network Adapters of the Virtual Machine and to which Switch they are connected:

With this command you can connect it to another Switch:

Now of course you can also do this for all Virtual Machines running on a Hyper-V host:



E2EVC Lisbon

My Year 2015

I know, it is a little bit later as usual, but still. Another great year has ended and I am ready for a new one again. It is hard to summarize this year, because so many things happened and I am really thankful for it. I had the chance to meet some really great, funny and smart people from all over the world and I had the chance to visit a lot of different cities and countries. As always I try to summarize the year in a blog post, and as always I never get all into one blog post, because it would be just too much for one post or it is simply too personal to share it here. But I have tried my best to do this, in the short time I had during lunchtime.

itnetX Ignite

With the end of 2015, I realized that I work now 4 years for itnetX, and I also realized that the company changed a lot in the past years. When I started in 2012 I was employee number 7 and now 4 years after this we are over 30 employees. This year we not just hired great and talented people, itnetX also merge with Syliance in the summer of 2015, which was really great, since this allowed me to work with even more great and skilled people, and allows me to learn new stuff every day. My job as a Cloud Architect still lets me travel to the most beautiful places around the world and I am looking forward to 2016 to do even more.

(In this picture: Martin Wüthrich, Adrian Probst, Michael Rüefli, Alain Schneiter, myself and Marcel Zehner)

Finland

One of my great private trips was my trip to Finland, which was amazing. Finland was beautiful and I can everyone recommend visiting the country if you have the chance and you like snow.

FHNW

I spent a lot of time studying in 2014 and 2015, now the only thing which is left is the Master Thesis to get my Master of Advanced Studies in Business Engineering and Management.