Category: Windows Server 2012 R2
-
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 and new Surname parameters’ input from the console,executes the rename of the Active Directory object…
-
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,…
-
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 to reflect the Active Directory configuration of the organization in question. function New-Employee { Param…
-
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 . Same file is used to create the virtual machine. The script assumes the VM…
-
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 one of my labs. This short video shows how to install the Active Directory Directory…
-
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 :