Category: 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 Active Directory Domain could be a tedious task if done manually. Following is a screen…
-
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 domain environment.Also, the script will not work on Windows Server 2003 Active Directory Domain Controllers…
-
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 task in PowerShell. Check for installed software: Filter by Software to be Uninstalled: Locate the…
-
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 started by deleting a test AD user: Ryan Smith from the Accounting_OU Organizational Unit in…