VMQ Example Script for Intel E5-2637v0 & one vSwitch

Following configuration is for an Intel Xeon E5-2637 and Intel X520 NICs.

The Script will disable VMQ on iSCSI and Livemigration and enable and configure VMQ on converged.

CPU distribution:

2

Script:

 

Save the Date: WEBINAR | Scripting & Automation in Hyper-V without SCVMM with @ThomasMaurer

Hi everyone,

you should save the 10th December 2015 in your calender’s. My friend Thomas Maurer is presenting some cool Scripting Stuff for Hyper-V together with Altaro. 🙂

Click here to register for the event.

System Center Virtual Machine Manager (SCVMM) provides some great automation benefits for those organizations that can afford the hefty price tag. However, if SCVMM isn’t a cost effective solution for your business, what are you to do? While VMM certainly makes automation much easier, you can achieve a good level of automation with PowerShell and the applicable PowerShell modules for Hyper-V, clustering, storage, and more.

Are you looking to get grips with automation and scripting?

Join Thomas Maurer, Microsoft Datacenter and Cloud Management MVP, who will use this webinar to show you how to achieve automation in your Hyper-V environments, even if you don’t have SCVMM.

Remember, any task you have to do more than once, should be automated. Bring some sanity to your virtual environment by adding some scripting and automation know-how to your toolbox.

PowerShell Script to move Hyper-V Hosts to special OU and add them to group

Hi,

as another part of my deployment scripts, I developed a small script that does following tasks.

  1. Moves all Hosts with *SVR-HV* from Computers to Hyper-V OU
  2. Creates Group for Hosts
  3. Adds Hosts to group

 

Small scripts to configure Livemigration on Hyper-V Hosts & Cluster

Hi everybody,

based on blogposts by John Savill and Ben Armstrong I developed two small scripts to configure Livemigration on Hyper-V Hosts and Cluster to save some time for configuration. I will no provide my whole script but I think the two snipes will help you too 🙂

First one you run on all Hyper-V Hosts.

The next one you run on the cluster its self. You only need to run one, depending on what suits you best.

 

 

How to dump firewall rules into file with powershell

Hi everybody,

again a short note for my self to not search again in my offline notes. 😉

How to dump Firewall rules with Powershell 3.0 and newer in a file “oneliner”.

Inbound rules:

 

Outbound rules: