Tag: Active Directory

PowerShell: Get AD Group Members (and Exporting)

Learn how to use PowerShell to get AD group members and export AD group members to generate tons of interesting reports.

Adam Bertram Avatar Adam Bertram

7 min. read

Set-ADUser: Modifying Active Directory Users with PowerShell

Learn how to inspect AD user accounts with the Get-ADUser PowerShell cmdlet and make changes to AD user objects with the Set-ADUser cmdlet.

Kevin Sapp Avatar Kevin Sapp

5 min. read

CSVDE and LDIFDE: Managing AD from the Command Line

Learn csvde and ldifde. Where these tools allow you to import, exort, or modify AD data from the command line.

Stuart Squibb Avatar Stuart Squibb

19 min. read

Get-ADObject: Reporting on Active Directory with PowerShell

Are you looking for a quick way to create an Active Directory (AD) report using PowerShell? You’ve come to the right place!  In this article, you will learn how to create custom reports of user accounts in your AD environment using the Get-ADObject cmdlet.

Kevin Sapp Avatar Kevin Sapp

8 min. read

Understanding LDIF (LDAP Data Interchange Format)

Have a deeper understanding of what the LDIF format is, what a file looks like and how it's used by various tools.

Stuart Squibb Avatar Stuart Squibb

3 min. read

New-ADUser: Creating Active Directory Users with PowerShell

Learn how to creating Active Directory Users with PowerShell via New-ADUser cmdlet and automate some Active Directory process.

Kevin Sapp Avatar Kevin Sapp

6 min. read

Building an Active Directory Health Check Tool [In-Depth]: Part II

Learn about pre-built PowerShell framework that you can plug in other Active Directory health checks and output results to Pester and PRTG.

Alex Asplund Avatar Alex Asplund

10 min. read

How to Test Active Directory with a Health Check [In-Depth]: Part I

Learn how test active directory and gather information from AD with PowerShell to be able to fix issues easily in the AD environment.

Alex Asplund Avatar Alex Asplund

13 min. read

Domain Controllers vs. Active Directory

Discover that domain controllers authenticate your authority, and Active Directory handles your identity and security access.

Bill Kindle Avatar Bill Kindle

4 min. read

“An Active Directory Domain Controller Could not be Contacted” [Solved]

Every IT admin managing machines in an Active Directory environment has been there. You try to add a computer to an Active Directory (AD) domain and get the dreaded "An Active Directory Domain Controller Could not be Contacted" error. In this article, learn the steps to diagnose (and solve) this problem for good.

Stuart Squibb Avatar Stuart Squibb

7 min. read

How to Force Azure AD Connect to Sync [Walkthrough]

Integrating your on-premises Active Directory Domain Services (AD) (and syncing) with Azure AD is done using the Synchronization Service Manager GUI or via PowerShell.

Jeff Christman Avatar Jeff Christman

6 min. read

Managing Active Directory Groups using PowerShell

Using the ActiveDirectory PowerShell module, you can query, add, update and remove groups and group members. In this blog post, you're going to learn a little about the Active Directory group PowerShell cmdlets with a ton of examples for reference.

Stuart Squibb Avatar Stuart Squibb

5 min. read

Learning Active Directory and LDAP Filters in PowerShell

One of the most common hangups when querying Active Directory with PowerShell is how to properly build filter syntax. The Filter and LDAP Filter parameters on all ActiveDirectory PowerShell module cmdlets is a black box to many.

Stuart Squibb Avatar Stuart Squibb

5 min. read

How to Install the PowerShell Active Directory Module and Connect

A prerequisite for every PowerShell Active Directory (AD) task is to install the Active Directory module. This popular module allows administrators to query and make changes to Active Directory with PowerShell.

Stuart Squibb Avatar Stuart Squibb

3 min. read

How to Find Domain-Joined Computers not in an Active Directory Site

As long as Microsoft Active Directory (AD) has been around, there have been roaming clients. Roaming clients are those domain-joined machines that aren't assigned to an AD site. These computers don't have an Active Directory subnet defined to a site. They have no way to know what site they're in.

Adam Bertram Avatar Adam Bertram

3 min. read

How to Find the Last Backup for a Domain Controller (Active Directory)

Learn how to backup domain controller by Using the repadmin command-line utility and a little bit of PowerShell-fu.

Adam Bertram Avatar Adam Bertram

3 min. read

Repairing Active Directory Trust Relationships for Good [Ultimate Guide]

Once the most common problems that plague Windows system administrators are trusted, Active Directory computers seemingly fall off the domain. The infamous "trust relationship between this workstation and the primary domain has failed is all too common.

Adam Bertram Avatar Adam Bertram

10 min. read

Active Directory Database Size Monitoring: Building a Monitor

The Active Directory (AD) database is, by far, the most important piece of AD. After all, without the database, AD wouldn't be much good at all. AD needs to be up and active 24 hours a day. It's being depended on for many different services.

Adam Bertram Avatar Adam Bertram

2 min. read

How to Find Active Directory Admin Accounts Authenticated by RODCs

Introduced in Windows Server 2008, read-only domain controllers (RODC) were a secure way to deploy DCs in remote locations. RODCs were read-only which meant that nothing could be directly written to them. This meant that a malicious attacker couldn't add his own user account and have it replicated back to all of the other DCs in an environment. It was much more secure than traditional domain controllers which allowed someone with the appropriate permissions to add objects at will to Active Directory.

Adam Bertram Avatar Adam Bertram

2 min. read

Creating an AD Sync PowerShell Tool with a CSV File

Learn how to use a community PowerShell module called PSADSync to sync AD with PowerShell (users). We will cover how to set up a simple AD sync with a CSV file in this tutorial blog post.

Adam Bertram Avatar Adam Bertram

3 min. read

Subscribe to Adam the Automator

Get the latest posts delivered right to your inbox