Automated Creation of VMware PortGroups

I was working on creating a new lab environment for Exchange 2013 and Lync 2013. I decide to create a couple of new portgroups with VLANs on all the ESXi servers. the task was going to be repeated 30 times so I decided to spend a little time creating a script to automate the process of…

Active Directory Auto-Replication Script

While working in my lab I found that my replication between sites was not working as fast as I needed. So I created a script to trigger the repadmin command every 5 minutes. Create Auto-Replication.ps1 file Open Notepad or your favorite powershell editor Type this line: 1..2094|foreach {start-sleep -s 5;cmd /c repadmin /syncall /AeP} Save…

Installation of Exchange 2013

Microsoft release Exchange 2013 Preview last week. Here are some notes from my first installation. Active Directory The current version of Exchange 2013 do not support upgrade from Previous versions. This feature will be added later. A new AD forest was created with Windows Server 2012 core. (Instructions) OS Installation The Exchange environment was build…

Replace Diskpart with PowerShell

In the new world of Powershell you can replace many of the command line utilities used by Windows Administrators. Here is a way to replace Diskpart with PowerShell commands. 1. Check if the initiator can see the disk: Get-disk 2. Select the disk to bring disk  online: Set-disk –number 3 –IsOffline $False 3. Make disk…