Category: Hyper-v 2012 R2
-
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 task in PowerShell. Check for installed software: Filter by Software to be Uninstalled: Locate the…
-
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 missing for some reason, you cannot start the virtual machine and you cannot remove the…
-
Configuring Network Adapter TCP/IP Settings using Powershell 4.0 Cmdlets .
PowerShell 4.0 is a requirement for these cmdlets to work.The GUI( Graphic User Interface) is commonly used to configure network adapter settings or the good old netsh command. But if I had to work with Hyper-v core or Windows Server 2012 R2 core, there’s a number of PowerShell cmdlets that could be used in place…
-
Configuring NIC Teaming on Windows Server 2012 R2 using PowerShell.
I want to quickly write about creating NIC teams on Windows Server 2012 R2 Cluster hosts for virtual machine access to the public network. There are a number of parameters to consider when creating a NIC team on this platform, but the two primary parameters for me are : 1) Teaming Mode: I selected the…
-
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 Cluster Manager started displaying the following error: Cluster network name resource ‘Cluster Name’ failed registration…
-
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 in a ‘Stopped’ state. So, we’ll begin by starting the service: [hyperv00]: PS C:\Users\admin\Documents> Start-Service…
-
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 out how to properly configure the NICS with PowerShell . Prior to Windows Server 2012,…
-
Windows Server 2012 R2 Hyper-V Component Architecture Poster and Hyper-V Mini-Posters
The following poster was just released by Microsoft to help shed some light on the features Gen 2 Virtual machines :