PowerShell – Getting Server IP Address Information
Feb26

PowerShell – Getting Server IP Address Information

KB ID 0001404 Problem I’ve been rebuilding some Hyper-V hosts over the last few weeks, and one thing I learned rebuilding VMware ESX hosts is, ‘make sure you know what all the network cards are doing before you flatten it!’ The same is true of storage as well but here I’m just concentrating on networking. List Network Cards and MAC Addresses If you have these documented you can rename the network card correctly...

Read More
Hyper V: Add a VM as a Cluster Resource
Jan23

Hyper V: Add a VM as a Cluster Resource

KB ID 0001390 Problem If you have a Hyper ┬áV cluster, then you should add virtual machines with ‘Failover Cluster Manager’ but if someone does not, (i.e. they add them directly to a host), then you wont see them in the list! So how do you add them in? Solution In Cluster Failover Manager > Right Click the failover node > Configure Role. Next. Scroll down and select Virtual Machine > Next. Non clustered VM’s...

Read More
Hyper V: Live Migration Error 0x80071008
Jan18

Hyper V: Live Migration Error 0x80071008

KB ID 0001387 Problem When attempting to perform a ‘live migration’ of a virtual machines storage, this happened. Error Invalid Parameter Code 0.80071008 Solution Oddly I had already moved one of the virtual machines drives to another cluster, before this happened, so I was a little confused. To get the migration to work, I needed to ‘unmount’ the parent VMs mounted .ISO file. The set the migration going again....

Read More
Hyper V: Get All The Guest VM IP Addresses
Jan17

Hyper V: Get All The Guest VM IP Addresses

KB ID 0001386 Problem Getting the IP address for an individual guest VM is easy enough, but if you have a lot of guest VM’s then you need some PowerShell. Solution To get the IP’s of all the Guest VM’s on an individual Hyper-V host, use the following syntax; Get-VM | Select-Object -ExpandProperty NetworkAdapters | Select-Object VMName,IPAddresses | Format-Table -Auto Note: The entries with no IP, are either powered...

Read More
Hyper-V Creating a NAT Network and vSwitch
Jan15

Hyper-V Creating a NAT Network and vSwitch

KB ID 0001384 Problem I’m without access to all my test equipment at the moment, so when I needed to do some testing, I thought I’d use Hyper-V on my new work laptop. I needed to ‘knock up’ a quick vSwitch that would NAT my test machines, to my laptops connected NIC. Solution Open an administrative PowerShell window, and execute the following three commands.┬áNote:┬áYou can change the values in RED to suit your...

Read More
Hyper-V 2016 – Missing VM Hardware Versions?
Jan10

Hyper-V 2016 – Missing VM Hardware Versions?

KB ID 0001382 Problem I was helping a colleague with a Hyper-V upgrade this week, he asked if I would upgrade the hardware versions on the guest VM’s Get-VMHostSupportedVersionl However I could not get the cluster to accept a hardware version above version 5 (Server 2012 R2) Solution As it turns out the cluster had had all its nodes upgraded to 2016, but the cluster functional level was still at version 8 (Server 2012)...

Read More