Category: PowerShell

Windows Sandbox

How to configure Windows Sandbox

With the latest release of Windows 10 (1903), Microsoft introduced a new feature called Windows Sandbox. Windows Sandbox is based on Hyper-V technology and allows you to spin up an isolated, temporary, desktop environment where you can run untrusted software. In this blog post, I will show you how you can set up and configure Windows Sandbox in Windows 10. I will also cover who you can do an advanced configuration of your Windows Sandbox using Windows Sandbox config files.

The sandbox is great for demos, troubleshooting or if you are dealing with malware. If you close the sandbox, all the software with all its files and state are permanently deleted. It is a Windows 10 virtual machines, with the advantage that it is built into Windows 10, so it leverages the existing OS, which gives you faster startup, less footprint, better efficiency, and easier handling, without losing security.

Dynamic Image

Source: Microsoft

Windows Sandbox is a lightweight virtual machine with an operating system. The significant advantage which makes it so small is the usage of existing files from the host, for data which cannot change. For the files which can change, it uses a dynamically generated image, which is only ~100MB in size.

There are much more exciting things happening with the Windows Sandbox like smart memory management, Integrated kernel scheduler, Snapshot and clone, Graphics virtualization and Battery pass-through. If you want to find out more about the Windows Sandbox, check out the official blog post.

Prerequisites

Windows Sandbox comes with a couple of requirements. How more powerful your machine is, the better the experience will be.

  • Windows 10 (1903) Pro or Enterprise build 18362 or later
  • 64-bit architecture
  • Virtualization capabilities enabled in BIOS
  • At least 4GB of RAM (8GB recommended)
  • 1GB of free disk space (SSD recommended)
  • 2 CPU cores (4 cores with hyperthreading recommended)


Azure Saturday 2019 Munich

Speaking at the Azure Saturday 2019 in Munich

Azure Saturday Munich is a free community-focused Azure event dedicated to educating and engaging members of the local technical community. Azure Saturday draws upon the expertise of local Azure IT professionals, developers and solutions architects who come together to share their real-world experiences, lessons learned, best practices, and general knowledge with other like-minded individuals. With 30 speakers delivering 25 sessions in front of 500 attendees. I am happy that this year I will be speaking about the Azure Cloud Shell on the Azure Saturday 2019 on May 18 in Munich.

Mastering Azure using Cloud Shell, PowerShell and Bash!

Azure can be managed in many different ways. Learn your command line options like Azure PowerShell, Azure CLI and Cloud Shell to be more efficient in managing your Azure infrastructure. Become a hero on the shell to manage the cloud!

If you want to use your Saturday to learn about Azure, come by and I hope to see you there!



Cloud Shell Configure Port Web Preview

Preview Web Apps with Azure Cloud Shell Web Preview

If you have worked with the Azure Cloud Shell in the last couple of days, you might have seen a new button called Web Preview. The Azure Cloud Shell Web preview feature allows you to run web applications on the Cloud Shell container instance and preview them before you deploy them. You can run web applications that listen to HTTP requests on the Cloud Shell from port 1025-8079 and 8091-49151.

If you are running for example a .NET Core application in Cloud Shell, you can preview this to the Cloud Shell gateway.

I have created a short video tutorial to show you the Azure Cloud Shell Web preview feature.

How to use the Cloud Shell Web Preview

First you need to run your application, in my case I run a simple .NET Core web application. This also works with other applications which can run in Cloud Shell and can map a local port.

Cloud Shell Web Preview dotnet

By default, this will use port 5000. Now you can create a simple port mapping by clicking on the Web Preview button in Cloud Shell.

Cloud Shell Configure Web Preview

This will open up the configuration menu to create the port mapping, where you can select port to use from 1025-8079 and 8091-49151.

Cloud Shell Configure Port Web Preview

Now you can access the application running inside your Cloud Shell container through the gateway, to preview your application.

Web Preview

I hope this was helpful and gave you a quick overview about the Web Preview feature in Cloud Shell. If you have any questions, please let me know in the comments.

You can run Azure Cloud Shell from in the Azure Portal or directly from shell.azure.com.

If you want to learn more about Cloud Shell, check out my video about Mastering Azure using Cloud Shell.



Mastering Azure using Cloud Shell Session

Video: Mastering Azure using Cloud Shell, PowerShell and Bash!

At the NetWork 9 Conference in Neum and at the Global Azure Bootcamp in Switzerland, I presented my session about Mastering Azure using Cloud Shell. Since I got a lot of requests for the session to be online, I recorded my presentation and made it available for everyone. The presentation is a live demo and summary of my blog post “Mastering Azure with Cloud Shell“, which gives you an overview about the Cloud Shell and some of the advanced stuff you can do.

In the session you learn:

I hope you enjoy watching it and let me know what you think in the comments.



CDC-Germany 2019

Speaking at the Cloud and Datacenter Conference Germany 2019

One of the best conferences when it comes to cloud and datacenter topics of IT Pros, is the Cloud and Datacenter Conference Germany 2019 organized by Microsoft MVP Carsten Rachfahl. I had the opportunity to speak at CDC-Germany 2016, 2017 and also in 2018. I am happy that I again was invited to speak at CDC-Germany 2019. The two day, Cloud & Datacenter Conference Germany will be held in Hanau, Germany on May 21-22. The CDC Germany will be focusing on Microsoft Technology and will have 6 tracks full of great Microsoft Cloud and Datacenter content with speakers from all over the world.

Featured Speakers CDC-Germany 2019

My Sessions at the Cloud and Datacenter Conference Germany 2019

I happy to speak in 1 of the main sessions and 2 breakout session about Hybird Cloud topics, like Azure Cloud Shell, Azure Stack, Windows Server 2019, Windows Admin Center, Azure Stack HCI and much much more.

Hybrid is the New Black!

Hybrid Cloud is not just a state during your cloud migration, it is here to stay! Hybrid Cloud goes far beyond Microsoft Azure Stack, and in this session you will see an overview about the different solutions you can use to extend your on-premises environment with Microsoft cloud services.

Windows Server 2019 – The Next Generation of Software-Defined Datacenter

Join this session for the best of Windows Server 2019, about the new innovation and improvements of Windows Server. Learn how Microsoft enhances the SDDC feature like Hyper-V, Storage and Networking and get the most out of the new Azure Hybrid Integration and Container features. You’ll get an overview about the new, exciting improvements that are in Windows Server and how they’ll improve your day-to-day job. In this presentation Thomas Maurer (Microsoft MVP) will guide you through the highly anticipated innovations in Windows Server 2019 and the Semi-Annual Channel including: Windows Server Containers Azure Integration Hyper-V features Storage Networking Security Windows Server Containers And more!

Mastering Azure using Cloud Shell, PowerShell and Bash!

Azure can be managed in many different way. Learn your command line options like Azure PowerShell, Azure CLI and Cloud Shell to be more efficient in managing your Azure infrastructure. Become a hero on the shell to manage the cloud!

My Session at the Hyper-V Community + Hybrid Cloud Community Pre-Day

I will also be speaking at the Hyper-V Community + Hybrid Cloud Community Pre-Day at May 20, 2019.

Extend the Intelligent Cloud to the Edge with Azure Stack and Azure Stack HCI

Azure Stack allows you to extend Azure to your datacenter and run Azure Services under your terms. With Azure Stack HCI, the latest member in the Azure Stack family, we also offer a great hyper-converged infrastructure solution, with optional Azure connected services. Find out more about Azure Stack and Azure Stack HCI, how these solutions can help you to in your Hybrid Cloud strategy. Learn about the features and services you will get by offering Azure Stack to your customers and how you can build a true Hybrid Cloud experience.

I am really looking forward to the Cloud and Datacenter Conference Germany 2019, and I hope to see you there!



Cloud Shell Office 365 Exchange Online PowerShell Module

Manage Office 365 Exchange Online from Cloud Shell

Today a new container image is available in the Azure Cloud Shell. This new container image includes the Exchange Online PowerShell module, which allows you to manage now Office 365 Exchange Online directly from Cloud Shell. This is great if you are a Office 365 Exchange Online admin and you want to do your work using the PowerShell, you can now do this without installing the PowerShell module on your local machine.



Global Azure Bootcamp 2019

Speaking at the Global Azure Bootcamp 2019

On April 27, 2019, it is again time where all the Azure communites come together for the sixth Global Azure Bootcamp event. And I am happy to be part of it again this year. Last year I was speaking at Azure Global Bootcamp 2018 in Zürich, Switzerland, and I will be back to speak at the Global Azure Bootcamp 2019 in Zürich this year. Besides this in person session, I will also be presenting online at the Global Online Azure Bootcamp (Ireland). This is an Azure Global Bootcamp event for those who don’t have something local or cannot travel, organised by Microsoft MVP and Azure expert Aidan Finn from Ireland. Hosted on GoToWebinar, presenters will share their expert knowledge on Microsoft Azure with an audience that can join in from anywhere around the world.

Around the world, user groups and communities want to learn about Azure and Cloud Computing. On April 27, all communities will come together once again for a great Global Azure Bootcamp event. Each user group will organize their own one day deep dive class on Azure the way they see fit and how it works for their members. The result is that thousands of people get to learn about Azure and join together online under the social hashtag #GlobalAzure.

I will be speaking about two extremly interesting topics inluding Azure Cloud Shell and Azure Stack.

Global Azure Bootcamp 2019 in Zürich

Mastering Azure using Cloud Shell, PowerShell and Bash!

Azure can be managed in many different way. Learn your command line options like Azure PowerShell, Azure CLI and Cloud Shell to be more efficient in managing your Azure infrastructure. Become a hero on the shell to manage the cloud!

Oganized by:

 

Stefan Johner

Stefan Roth

Manuel Meyer

Global Online Azure Bootcamp 2019 (Ireland)

Extend the Intelligent Cloud to the Edge with Azure Stack and Azure Stack HCI

Azure Stack allows you to extend Azure to your datacenter and run Azure Services under your terms. With Azure Stack HCI, the latest member in the Azure Stack family, we also offer a great hyper-converged infrastructure solution, with optional Azure connected services. Find out more about Azure Stack and Azure Stack HCI, how these solutions can help you to in your Hybrid Cloud strategy. Learn about the features and services you will get by offering Azure Stack to your customers and how you can build a true Hybrid Cloud experience.

If you have time and you want to spend a whole day learning about Azure, join one of the events around you, or check out the online streaming events. I am also happy to meet you in Zürich!