How to: Create multiple VM’s in Hyper-V within a few seconds

Automation is one of my favorite things. Some actions are just time consuming, so let’s automate these things!! For example, create a demo environment within Hyper-V. This environment needs 8 VM’s. With a few lines of code, this is realy easy to automate, off course with PowerShell.

Within a few seconds, I’ve 8 VM’s up and running.

2016-03-23_10h10_00    2016-03-23_10h10_44    2016-03-23_10h11_23

/ Happy Automation!

Free Whitepaper: Understand Microsoft Hyper Converged Solution

This whitepaper is written by Romain Serre and Charbel Nemnom which describes Microsoft Hyper-Converged solution in Windows Server 2016 using Storage Spaces Direct, Hyper-V and network technologies. The second part of this document shows an example of this implementation.


This document is written with my friend Charbel Nemnom which covers Hyper-Converged architecture in Windows Server 2016. This document describes technologies related to Microsoft Hyper-Converged model based on Storage Spaces Direct (S2D), Storage Quality of Service, ReFS, Hyper-V, Nano Server and some networking features such as RDMA, Switch Embedded Teaming (SET) and SMB.

In the second part of this document, we walk you through a step by step process on how to implement this solution on top of four virtual Nano Servers fully automated.

This document is with regards to the last Microsoft public information and the latest build of Windows Server 2016, we want to emphasize that this whitepaper will also be updated as we move forward to keep up with all the great things that is happening in the Microsoft CloudOS Platform.

We hope you find this document useful and helpful. If you have any questions, comments or errata you find in this whitepaper are welcome and encouraged.

Table of Contents:
Credit Page
Software-Defined Networking
Software-Defined Compute
Software-Defined Storage
Nano Server
Windows Server 2016 Licensing
Implementation Guideline
Nano Server Deployments
Storage Spaces Direct Deployments
Host a VM on the solution
Storage Quality of Service

Free WhitePaper: Storage Efficiencies with Hyper-V at the Virtual and Physical Layer

Thin provisioning, UNMAP and checkpoints/snapshots are powerful technologies when used wisely. And to truly benefit, we must master them. This will allow us to better deliver storage and offer data protection.

While these technologies can be used at the physical layer (storage array), at the virtual layer (Hyper-V) or a combination of both, what we choose depends on the environment, budget and workloads. They offer:

  • cost reduction
  • operational benefits in ease of use
  • operational benefits in speed of recovering to points in time
  • operational benefits in offering data to Development Operations (DevOps) teams

This white paper will help you understand these concepts better in order to make better decisions for your needs.


New eBook: Supercharging Hyper-V Performance

Keeping a healthy infrastructure and avoiding unnecessary problems doesn’t have to be super complex. You can get better performance out of your system without spending a lot of time and money on upgrades, but rather focus getting the most out of what you have.

If you’re a system administrator who’s looking to get better performance on your Hyper-V environment that won’t cut into your weekends and family time, we’ve got a great new eBook for you:

Supercharging Hyper-V Performance for the Time-strapped Admin by Paul Schnackenburg


Grab your copy here:
Download eBook

Here’s what you can expect from this eBook:

  1. A practical guide to finding and fixing issues in storage, CPU, memory, and network components
  2. Instructions on how to use Windows Performance Monitor and PAL to monitor your virtualized environment
  3. Advice on how to plan hosts, VMs, storage, networking and management for maximum performance.

We’ve set up a table of contents page to help you navigate sections if you are an experienced system administrator. Alternatively if you are a relatively new to Hyper-V infrastructures you can work your way through the whole guide for a complete overview. It’s up to you!

We hope this guide gets you closer to a healthier Hyper-V environment!

Free WhitePaper: All You Need to Know About Microsoft Nano Server

A whitepaper about Microsoft Nano Server written by Veeam Microsoft Evangelist Mike Resseller has published. In this whitepaper, you will learned about:

  • Deployment options
  • Remote management
  • Troubleshooting tips and tricks
  • And much more!


You can download the whitepaper here.

WEBINAR: Troubleshooting Microsoft Hyper-V


If you’ve been in IT for any length of time, you’ve likely gotten that phone call that you never want to get: Everything is broken! It’s the end of the world! The sky is falling! Your Hyper-V Host or Cluster is broken and you are the person to fix it!

Where do you start?

What are the most common things to look for?

These are exactly some of the questions we’ll be covering in our next webinar, on February 25th, 2016 at 4pm CET / 10am EST!

Microsoft Cloud and Datacenter Management MVPs Didier Van Hoye and Andy Syrewicze will be answering these questions, and will also be sharing some tales from the trenches.

In this webinar you’ll learn Hyper-V troubleshooting basics and solutions to common problems. You’ll also see some Hyper-V oddities that were encountered by Didier and Andy and how these issues were ultimately resolved and with what tools.

It’s one thing to setup and run a virtualization solution. It’s another thing to fix it when it’s broken.

Sign up now to join us on February 25th, 2016 at 4pm CET / 10am EST (30-45mins + live Q&A!) for some tales from the trenches!


How to: Initialize, format and label disks during OSD Task Sequence in SCCM 2012 R2

During a task seuence in Microsoft SCCM 2012 R2, the operating system and applications are installed on the C: drive in most situations. But in some deployments, you definitely want to create more disks. For example, you want to create a D: and E: partition for storing some other data. Maybe for Microsoft SQL or Exchange installation, databases, logfiles or just some other data.

The following script will do all these steps for you during the task sequence. The script initialize, format, partition and label the disks for you….fully automated! :)

The script first checks how many disks are attached to the server.
If there is only one disk attached, you’ll have only a C: drive available after the deployment.
If there are 2 disks attached, you’ll have a C: and D: drive avalailable after the deployment.
If there are 3 disks attached, you’ll have a C:, D: and E: drive available after the deployment.

The CD-ROM drive will alse changed from E: to X:.

2015-12-18_12h30_44    2015-12-18_12h32_27    2015-12-18_12h32_52

2015-12-18_12h34_31    2015-12-18_12h37_51    2015-12-18_12h41_05


How to: Change computername in Windows Explorer on Windows Server 2012 R2

When you’re are using a lot of virtual machines or environments, it’s somethimes realy usefull to see in what environment or on what server you’re logged in. If created a really nice solution for my servers, basically Remote Desktop Services in different environments, that does exact my I need! I’ve changed the displayname in Windows Explorer to the value “user on server”, for example: “mark on prod-rds-01″.

You can set this new value with Group Policy Preferences or some other scripting.

1.) Create a new GPO in the Group Policy Management Console
2.) Navigate to “User Configuration / Preferences / Windows Settings / Registry
3.) Create a new registry item and browse to the following registry key:
4.) Change the default REG_SZ value to “%username% on %computername%”
5.) Login to the specific server where you targeted the GPO and open Windows Explorer
6.) The name of your computer has changed to “username on computername”

2015-12-04_11h19_20    2015-12-04_11h20_16    2015-12-04_11h20_48

2015-12-04_11h21_11    2015-12-04_11h21_40    2015-12-04_11h37_48