Category Archives: Windows Server 2008 R2 Backup

PowerShell Script to Bulk Update UPN (UserPrincipalName) Suffix in a Single Non-Routable Domain.

As part of the Office 365 Configuration and migration project, we’ve had to define and create an alternate upn (UserPrincipalName) suffix for an internal Active Directory domain that is not publicly routable. Updating the upn for every user in the … Continue reading

Posted in Active Directory Domain Services, Office 365, PowerShell, PowerShell 3.0, Powershell 4.0, Script, Scripts, Windows Server 2008 R2 Backup, Windows Server 2012 R2 | Tagged , , , , , , , , , | Leave a comment

Raising Active Directory Forest and Domain Functional Levels Using PowerShell.

As part of the infrastructure clean up and upgrade plans, we have decided to raise the DFL and FFL of our domain to take advantage of new Windows Server features. The first step in the process is making sure all … Continue reading

Posted in Active Directory, Active Directory Domain Services, Active Directory Replication, AD Forest, Domain Controller, PowerShell, PowerShell 3.0, Powershell 4.0, Windows Server 2008 R2, Windows Server 2008 R2 Backup | Tagged , , , , , | Leave a comment

PowerShell Script Monitors Security Logs and Sends Email Alerts.

I wrote this PowerShell script to send email alerts when Active Directory User Account, Security and Distribution Group Management events occur in the Security logs.A few parameters will need to be edited to adapt the script to any Active Directory … Continue reading

Posted in Active Directory, Active Directory Domain Services, Audit Logs, Domain Controller, Event Logs, PowerShell, PowerShell 3.0, Powershell 4.0, Windows Server 2008 R2 Backup, Windows Server 2012, Windows Server 2012 R2 | Tagged , , , | 3 Comments

Uninstalling Software with Powershell.

I have a number of Hyper-v Windows Server 2012 R2 core host machines in my environment. Once in a while, I have to check for installed software and uninstall software for maintenance. The following WMIObject class helped me achieve the … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, Microsoft Hyper-v, PowerShell, PowerShell 3.0, Powershell 4.0, Windows Server 2008 R2 Backup, Windows Server 2012, Windows Server 2012 R2 | Tagged , , | 6 Comments

How to Restore an Active Directory Object from Backup.

In this post, I am going to talk about my experience doing an Authoritative Restore of a deleted Active Directory user object. The steps were completed by restoring from a previous System State backup and using the ntds utility. I … Continue reading

Posted in Active Directory, BCDEdit, DSRM, NTDSUtil, PowerShell, PowerShell 3.0, Windows Server 2008 R2, Windows Server 2008 R2 Backup | Tagged , , , , | Leave a comment