New URL for this blog moved to carlosvargas.com

New year and new URL. I finally move this blog to http://carlosvargas.com so all the new updates will go in the new website.

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…

How to enable PowerShell Web Access

Windows 2012 include a very nice feature called PowerShell Web Access. This feature allows you to access a powershell session via a web browser. Steps to enable and configure PowerShell Web Access Open PowerShell Session Install the PowerShell Web Access Feature Install-WindowsFeature -Name WindowsPowerShellWebAccess -IncludeManagementTools -Restart After server reboot, configure the web application. Install-PswaWebApplication -UseTestCertificate…

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…

Get IOPS per Process

Here is a quick one line to get how many IOPS each process is using. Get-WmiObject Win32_PerfFormattedData_PerfProc_Process | Select Name, IOReadOperationsPerSec, IOWriteOperationsPerSec, IOReadBytesPerSec, IOWriteBytesPerSec