Category Archives: Hyper-v

Enable Hyper-V Server 2012 R2 Core Virtual Machine Protection using existing Azure Site Replication Policy.

In this post, I’ll be writing about my steps for enabling on premise Virtual Machine protection to Azure Site Recovery using an existing Hyper-V Site Replication policy. In this deployment, I’ll be adding and registering a Hyper-V Core Server 2012 … Continue reading

Posted in Azure, Azure Site Recovery, Failover Cluster, Failover Cluster Manager, Hyper-v, Hyper-v 2012 R2, Hyper-v Manager, Microsoft Hyper-v | Tagged , , , , , , , , , , , | Leave a comment

Simple PowerShell Script displays Total and Available Memory .

This script is an update to a previous post. In addition to displaying total and available disk space, it will also show the available memory at any given time for a server within a domain infrastructure. It has come in … Continue reading

Posted in Active Directory Domain Services, AD Forest, Hyper-v, Hyper-v 2012 R2, PowerShell, PowerShell 3.0, Powershell 4.0, Script, Scripts, Windows Server 2012 R2 | Tagged , , , , , , | Leave a comment

Resolving Hyper-v Error: “‘Unnamed VM’ could not initialize… The security ID structure is invalid.”

While moving my Lab to a new environment using the Hyper-v Export and Import VM options, I ran into an “‘Unnamed VM’ could not initialize… The security ID structure is invalid” error when trying to start the Domain Controller Virtual … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, Hyper-v Manager, Microsoft Hyper-v, PowerShell, Powershell 4.0, Uncategorized, VHDX, Virtual Machines, WIndows 8.1, Windows Server 2012, Windows Server 2012 R2 | Tagged , , , | 1 Comment

23 Best Practices to improve Hyper-V and VM Performance

Best practices are the most obvious starting point for improving your Hyper-V and Virtual Machine performance and I’ve listed 23 of them for you below. 1. Avoid overloading Hyper-V Server You must not overload Hyper-V Server. In other words, there … Continue reading

Posted in Generation 2 Virtual Machines, Hyper-v, Hyper-v 2012 R2, Hyper-v Manager, Microsoft Hyper-v, NIC Teaming, Virtual Machines, Windows Server 2012 R2 | Leave a comment

Uninstalling Software with Powershell.

I have a number of Hyper-v Windows Server 2012 R2 core host machines in my environment. Once in a while, I have to check for installed software and uninstall software for maintenance. The following WMIObject class helped me achieve the … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, Microsoft Hyper-v, PowerShell, PowerShell 3.0, Powershell 4.0, Windows Server 2008 R2 Backup, Windows Server 2012, Windows Server 2012 R2 | Tagged , , | 5 Comments

Starting a saved virtual machine–with a missing virtual hard disk

Reblogged from Ben Armstrong’s Virtualization Blog . I came across a person with this problem on our forums recently: If you have a virtual machine that is in a saved state, but one of the virtual machines disks is now … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, Hyper-v Manager, PowerShell, PowerShell 3.0, Powershell 4.0 | Tagged , , , , , | Leave a comment

Resolving Windows Server 2012 Failover Cluster Kerberos Security Issue – Invalid DNS Error

I’ve been running Windows Server 2012 Failover Cluster for about a year and it’s been stable up until now. Recently, I encountered an issue where Live migration of VMs failed across all hosts in the cluster. In addition, the Failover … Continue reading

Posted in Failover Cluster, Failover Cluster Manager, Hyper-v, Hyper-v 2012 R2, Windows Server 2012, Windows Server 2012 R2 | Tagged , , , , | 6 Comments

Checking Available Disk Space and Memory with Powershell.

I frequently need to display the disk size, available disk space properties and Processor details of my remote Hyper-v 2012 Hosts servers. I could use the Computer Management snapin to do this, but it involves too many steps just to … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, PowerShell, PowerShell 3.0, Virtual Machines, WIndows 8.1, Windows Server 2012 R2 | Tagged , , , , , , , , | 1 Comment

Configuring multiple ISCSI Connections for Multipath IO using PowerShell.

This post will be focused mainly on the ISCSI Initiator host and configuring multipath IO paths to an ISCSI Target. The ISCSI Target portal has already been configured with 2 network paths for ISCSI. The ISCSI Service by default is … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, ISCSI, ISCSI Initiator, ISCSI Target, Multipath-IO, PowerShell, PowerShell 3.0, Windows Server 2012, Windows Server 2012 R2 | Tagged , , , , | 1 Comment

Configuring Hyper-v Host Network Adapters for ISCSI Storage Connectivity with Powershell .

Windows Server 2012 R2 with PowerShell 4.0 has hugely expanded support for configuring multiple NICs on a Cluster/ISCSI Initiator node via command line. After deploying multiple Network Interface Cards on my Hyper-v host, it took me a while to figure … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, ISCSI Initiator, Microsoft Hyper-v, PowerShell, PowerShell 3.0, WIndows 8.1, Windows Server 2012, Windows Server 2012 R2 | Tagged , | 4 Comments