Category Archives: PowerShell

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

Latest Article – Preserve Hyper-V security from Meltdown and Spectre vulnerabilities

A complementary article to my last blog post here, but this time focusing on how to protect Hyper-V VMs from the Meltdown and Spectre vulnerabilities. The Spectre and Meltdown vulnerabilities have admins scrambling for safety, and virtualization presents a particular … Continue reading

Posted in Hyper-V, MVP, PowerShell | Tagged , , , , , , , | Leave a comment

Hyper-V and Spectre/Meltdown: Protecting Your Hosts – Do This!

There is a lot of information swirling around out there on what to do with the latest Spectre/Meltdown vulnerabilities. Whereas I can’t tell you how to solve the vulnerabilities for for every Hardware and Operating System combination, I can tell … Continue reading

Posted in Hyper-V, PowerShell, Vendor, Windows Server 2012 R2, Windows Server 2016 | Tagged , , , , , , , , , , , , , , , | Leave a comment