Category: PowerShell
-
Setting Up a WS2012 R2 Windows Deployment Server (WDS) for Pre-Boot Execution Environment (PXE).
In this post I want to quickly go through my experience setting up a Windows Deployment Server for PXE Boot(Pre-Boot Execution Environment) for my lab servers. Platform is Windows Server 2012 R2 .I outline the steps as follows: 1) Open a PowerShell console and use the Install-WindowsFeature cmdlet to install the specific role as indicated…
-
Deploying Windows Server 2012 R2 in Dual-Boot Configuration using Windows 8.1 Native Boot-to-VHD capability
In this post, I’ll be sharing my experience deploying Windows Server 2012 R2 in a dual-boot configuration leveraging Windows 8.1 Enterprise native boot-to-vhd feature. This enabled me setup a sort of Lab-to-go for WS2012 R2 Active Directory research on a laptop. The steps are as follows: Create a WS 2012 Server VM. I already have…
-
Converting a User Mailbox to Resource Room Mailbox using PowerShell.
In past versions of Exchange Server, specifically Exchange 2003, managing Resource Room mailboxes was not exactly a straight forward process. In my organization at the time, to manage room Calendars and bookings for Conference rooms (they were not referred to as Resource Rooms at the time), we had to create mailboxes to represent the conference…
-
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…