Hyper-V Virtual Switch Internal with NAT -Update-

This is a quick blog post to correct a “legacy blog” I made in January this year..

I haven’t been using any VM’s on my Surface for a long time, since then new Windows 10 builds have arrived. As Thomas Maurer discribes here things have changed.

If you were running the commands in my previous blog and have been using it you have come to the conclusion (I hope sooner as me 🙂 ) that the Nat VSwitch is gone and the VM’s depending on it have no network connection.

You can recreate it as internal VSwitch like this:

New-VMSwitch -Name VSwitch-NAT -SwitchType Internal
New-NetIPAddress –IPAddress -PrefixLength -InterfaceAlias "vEthernet (VSwitch-NAT)"
New-NetNat –Name NATnetwork –InternalIPInterfaceAddressPrefix

But you will run in to an issue with the last command.

Read more

Windows 10 Mobile Continuum with Azure Remote App

“Continuum turns your phone into a big-screen projector and a big-time productivity tool”. That’s what the marketing department of Microsoft says. A lot of media is also shouting out “Turn you phone into a PC”.  But is it true? I have been working with Windows 10 and Windows 10 Mobile for almost a year now and I am a huge fan! I have had my frustrating moments in the insider preview program with mostly Windows 10 mobile but  at the end it’s really a good OS with lost of features and capabilities.

For a project I was able to work with a Lumia 950XL with Windows 10 Mobile and a Microsoft Display Dock to use and work with Continuum and Azure Remote App. In this blog I share some of my findings and thoughts.

How does it work

With Continuum and the Display Dock you can connect your phone to a big screen, keyboard and mouse like on a full desktop/laptop. I say ‘like’ on purpose because of course it’s not the same. More on that later on.

WP_20160322_09_42_45_Pro_LI (2)

When you connect the display dock or connect to a device with a Display Dock you have a separate screen. Everything you do there is not displayed on the phone, so it’s not duplicating a screen but more a separate desktop. Duplicating is an option to do but then you’re not using Continuum

Read more

Hyper-V Virtual Switch Internal with NAT

—- UPDATE—- Be sure to check the updated blog for the powershell commands since it has changed in the newer Windows 10 and Windows Server 2016 builds

A will a go Microsoft released Windows Server 2016 TP4 and Windows 10 Build 10586. For Windows 10 it was all about nested virtualization that is a great feature which i use a lot with nano server and containers now days.

But another great feature came with that release that completely  slipped my attention and I stumbled on it exploring the New-VMSwitch powershell Cmdlets. Since that release you have the ability to set you Virtual Switch (VSwitch) not only to External, Internal and Private but also to a fourth option, which is NAT mode.

Let me explain, when you run some VM’s on your local laptop, tablet or test/dev server you probably created a Vswitch which is connected to your LAN or WIFI adapter for outside network acces or internet access. Or when you want them to talk to each other in there own subnet and you requier no internet access you have a VSwitch with a Internal Network connection type. But if you require the VM’s to have internet connection and want multiple subnets you need vlan’s.

Since not everybody has VLAN’s on a home network or you are located in a company network were you do not have controle over the network you cannot use the External Network type VSwitch to get al the VM’s on the internet or the rest of the network. Or when you are like me and are located in several different customer networks, IP’s change all the time when on DHCP or my VM’s need to change IP addresses all the time if i want to test somethings in VM’s.

All that is behind us now because we can create VSwitches for Internal Network and enable NAT on the VSwitch.

Read more

Windows Mobile 10 build 10581

Today I received the new Windows Mobile 10 build 10581 from the fast ring Insider Preview. For me there were a couple of things that were really bad in de last couple of builds. In the previous builds you were not able to set the data usage limit on a monthly schedule. After saving nothing … Read more