Category Archives: Active Directory

Active Directory Scripting Highlight: Test Basic Network Connectivity with PowerShell

Throughout my work with domain migrations, there are inevitably some very basic steps before getting deep into User attributes, Groups, Computers, and the myriad of ways that client applications use Active Directory that need to be transitioned to a new … Continue reading

Posted in Active Directory, ADMT, PowerShell | Tagged , , , , , , | Leave a comment

Active Directory Scripting Highlight: Identify and Move Active Directory Operations Master Roles with PowerShell

Getting your bearings and knowing everything you can about a Forest/Domain you are migrating is key.  Which domain controllers in the Forest and Domains hold the Operation Masters roles is one of those important details as you modify or decommission … Continue reading

Posted in Active Directory, PowerShell | Tagged , , , , , , , , | Leave a comment

Active Directory Script Highlight: Simple HTML Export of all Group Policy Object Details

So once you have cleaned up your group policies like I outlined in my last two Active Directory Scripts Highlights,  what’s next? In this article I have a couple of variations of  scripts using the Get-GPOReport cmdlet that will allow … Continue reading

Posted in Active Directory, Group Policy, PowerShell | Tagged , , , , , , , , | Leave a comment

Active Directory Script Highlight: Group Policy Object Cleanup and Efficiency

Going a step further from the previous post with a little more detail, the script below adds of GPOStatus, and version increment number for Computer and Users section for each Group Policy. Get-GPO -All | Sort GPOStatus | Format-Table Displayname, … Continue reading

Posted in Active Directory, Group Policy, PowerShell | Tagged , , , , , , , , , | 3 Comments

Active Directory Script Highlight: Pre-Migration Group Policy Inventory and Cleanup

Todays Active Directory cleanup topic looks at Group Policy Objects.  In most of the environments I have prepared for migrations, old Group Policy objects are another problem area that should be cleaned up before an Active Directory migration. In many … Continue reading

Posted in Active Directory, Group Policy, PowerShell | Tagged , , , , , , , | 1 Comment

Active Directory Script Highlight: Identify Old Computer Objects Before AD Migrations

In the last of my Active Directory cleanup post, I have given you some options to identify, disable, and move User objects based on a certain time of inactivity.  In this post I am going to give you some simple … Continue reading

Posted in Active Directory, PowerShell | Tagged , , , , , , , , , | Leave a comment

Active Directory Script Highlight: Disable and Move Users Who Have Not Logged on In 180 Days

In my last post I showed a simple script to identify users that have not logged on in the last 180 days and export basic information to a CSV file.  This allowed you to look through the list and determine … Continue reading

Posted in Active Directory, PowerShell | Tagged , , , , , , | 1 Comment

Active Directory Script Highlight: Identify User Not Logged in in 180 days

Domain migrations are in full swing so I thought I would start to share some of the scripts used in the process.  This one identifies users that have not logged on in over 180 days.  The thought behind this is … Continue reading

Posted in Active Directory, PowerShell | Tagged , , , | 1 Comment

Computer Account Domain Migration Oddities – No Access to ADMIN$ share

When attempting to run the Security Translation Wizard to ensure resources like Local Profiles, Printers, Mapped Drives, Desktop, etc… are migrated over when users start to logon with their migrated user accounts, I ran into an odd error within ADMT. … Continue reading

Posted in Active Directory, ADMT | Tagged , , , , , | Leave a comment

Enable or disable modern authentication in Exchange Online

Recently when working with a domain migration I experienced and issue with Outlook autodiscover working incorrectly for accounts that have been migrated to the target domain.  The newly migrated users were keeping their same email addresses and their mailboxes were … Continue reading

Posted in Active Directory, O365 | Tagged | Leave a comment