Category Archives: Windows Server 2012

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

Renaming AD User Object Surname Property.

The following script renames the Surname property of an Active Directory User Object. The script requires PowerShell 3.0. The only edit required is the organizational Exchange Server name specified in the New-PSSession cmdlet. The script accepts the Given Name, Surname … Continue reading

Posted in Active Directory, Exchange 2010 SP2, Exchange Cmdlets, Exchange Management Shell, PowerShell, PowerShell 3.0, WIndows 8.1, Windows Server 2012, Windows Server 2012 R2 | Tagged , | Leave a 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

PowerShell 3.0 Script creates AD user and Exchange Mailbox.

This interactive script requires PowerShell 3.0 . It creates an Active Directory user and their corresponding mailbox using a remote session at the same time. It should work out of the box, but specific variables will have to be edited … Continue reading

Posted in Exchange 2010 SP2, Exchange Cmdlets, Exchange Management Roles, Exchange Management Shell, Microsoft Exchange, PowerShell, PowerShell 3.0, WIndows 8.1, Windows Server 2012, Windows Server 2012 R2 | Tagged , , , | 2 Comments

PowerShell script utilizes “Using” scope modifier to create VM from existing .vhdx file.

The following interactive PowerShell 3.0 script creates a new virtual machine. It utilizes the ‘Using’ scope modifier to pass local variables to remote machines with the invoke-command cmdlet. An existing .vhdx file is copied to a new location and renamed … Continue reading

Posted in PowerShell, PowerShell 3.0, Windows Server 2012, Windows Server 2012 R2 | Tagged , | Leave a comment

How to promote Windows Server 2012 to a Domain Controller

Originally posted on Exchange Times:
Microsoft has done away with dcpromo when it comes to Windows Server 2012. We’ve been so accustomed to using dcpromo that I actually struggled a bit to promote a 2012 server to a DC in…

Posted in Active Directory, Windows Server 2012, Windows Server 2012 R2 | Tagged | Leave a comment

Configuring Windows Server 2012 as an iSCSI Target SAN in a Two Host Failover Cluster Part 4

Here we go over my steps for the actual cluster creation, cluster and node validation, quorum setup and cluster shared volume configuration.We have by running a cluster validation on each node. This can be achieved with the following cmdlets: Test-Cluster … Continue reading

Posted in Cluster Shared Volume, CSV, Failover Cluster, Hyper-v, ISCSI, ISCSI Initiator, ISCSI Target, Microsoft Hyper-v, PowerShell, PowerShell 3.0, Quorum, Windows Server 2012, Witness | Leave a comment

Configuring Windows Server 2012 as an iSCSI Target SAN in a Two Host Failover Cluster Part 3

In the next part of the series, we will create a simple 1GB iSCSI virtual disk, assign it to the already configured target and verify the disk is visible to the iSCSI initiators. New-IscsiVirtualDisk -Description “Witness Disk” -Path g:\iscsivirtualdisks\Witness00.vhd -Size … Continue reading

Posted in Cluster Shared Volume, CSV, Failover Cluster, Hyper-v, ISCSI, ISCSI Initiator, ISCSI Target, Microsoft Hyper-v, PowerShell, PowerShell 3.0, Windows Server 2012 | Leave a comment

Configuring Windows Server 2012 as an iSCSI Target SAN in a Two Host Failover Cluster Part 2

In this part of the series, we will configure two hosts as iSCSI initiators. The hosts have already been defined at the Target and ready to log on. Both hostsĀ are running WS 2012 Hyper-v Core and I made sure to … Continue reading

Posted in Failover Cluster, Hyper-v, ISCSI, ISCSI Initiator, ISCSI Target, Microsoft Hyper-v, PowerShell, PowerShell 3.0, Windows Server 2012 | Leave a comment