active directory

Reporting group membership for critical Active Directory groups

I work a lot with Active Directory-related tasks. One of the tasks is to know the group membership of critical…

2 months ago

Finding duplicate DNS records by IP Address using PowerShell

In my earlier blog post, I showed you a way to find duplicate DNS entries using PowerShell, but the focus…

2 months ago

Finding duplicate DNS entries using PowerShell

Today's blog post is about Active Directory-integrated DNS and how to find duplicate entries. By duplicate, I mean those where…

2 months ago

Finding duplicate SPN with PowerShell

Duplicate SPNs aren't very common but can happen in any Active Directory as there's no built-in way that tracks and…

10 months ago

Active Directory Domain Services could not replicate the directory partition – The replication operation encountered a database error

If you ever encounter an error while trying to create a new domain within a forest saying, "The replication operation…

10 months ago

Monitoring LDAPS connectivity/certificate with PowerShell

Some time ago, I wrote a blog post on checking for LDAP, LDAPS, LDAP GC, and LDAPS GC ports with…

2 years ago

The only command you will ever need to understand and fix your Group Policies (GPO)

I've been working on cleaning up Group Policies for a couple of months. While it may seem trivial, things get…

2 years ago

Using Win32_UserAccount WMI filter in PowerShell/Group Policies and what to avoid

Some months ago, I created PowerShell Script to create local administrative users on workstations - Create a local user or…

2 years ago

Get-ADObject : The server has returned the following error: invalid enumeration context.

In the last weeks, I'm working on a PowerShell module that the main goal is to work on gathering and…

2 years ago

The security account manager (SAM) has determined that SID is already in use in the Forest

The security account manager (SAM) has determined that the security identifier (SID) for this computer is already in use in…

3 years ago