Tag: Active Directory

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

AD DNS forwarders: Managing and Automating with PowerShell

Learn, the AD DNS forwarders and how you can manage them in your environment as an important part of your DNS infrastructure

David Lamb Avatar David Lamb

4 min. read

An Active Directory user is locked out: don’t panic!

Do the users in your organization ever forget their passwords? Surely not! Has an Active Directory user locked out their account? No way! All sarcasm aside, maybe there's a worm slithering around on your network trying every AD user account it can find until they lock out. Let's see what we can do with PowerShell to track these lockouts down.

Adam Bertram Avatar Adam Bertram

3 min. read

How to Build a GPO Report with PowerShell

Learn how to use PowerShell script, to get a list of all of the GPOs that aren't linked to an OU then decide to remove them, if necessary.

Adam Bertram Avatar Adam Bertram

3 min. read

Active Directory Scripts Galore: Come and Get It!

Learn how to create Active Directory Scripts and use on your own projects.

Adam Bertram Avatar Adam Bertram

4 min. read

A Review of Softerra’s Adaxes AD Automation Software

Active Directory (AD) has been a critical piece of functionality in a huge majority of businesses. AD has provided us with single sign-on functionality for nearly 16 years now.

Adam Bertram Avatar Adam Bertram

7 min. read

Get Active Directory Users From Text File

Use this blog post and attached PowerShell script to read Active Directory users from a text file.

Adam Bertram Avatar Adam Bertram

4 min. read

Worm spreads across network. Powershell chosen as ally to opposition.

Picture this. You drive into work, grab a cup of coffee, sit down at your desk and log in. It's a typical day; a couple of tickets came in overnight, last night's backups completed successfully and you've only got 20 emails tagged as "high priority" by users. Suddenly you hear frantic footsteps incoming and your antivirus guy pops in with an urgent message. "Susan in Accounting opened up an email and released a 0-day worm onto the company network! I've called support and they're working on a definition update but they don't have one yet! It's locking people's accounts out like crazy!!"

Adam Bertram Avatar Adam Bertram

2 min. read

Server-Side vs. Client-Side Active Directory Filtering

Searching for objects in Active Directory is a cinch with PowerShell. However, you need to know how to use filters to be the most efficient with your time!

Adam Bertram Avatar Adam Bertram

2 min. read

Easily Find all Undefined Clients in Active Directory

I was working on a project recently and needed to find all of the undefined clients in an Active Directory domain. Undefined clients are those domain members that are in an IP subnet that is not yet defined to a site. Unfortunately, there's no central place to find this information so you must turn to some log parsing.

Adam Bertram Avatar Adam Bertram

< 1 min. read

How to Find the Max Length for an Active Directory Attribute

Today, I had some users complaining that they could not populate a certain Active Directory attribute with a fairly long string. Because I didn't want to fire up ADSIedit to do this, I decided to use PowerShell.

Adam Bertram Avatar Adam Bertram

< 1 min. read

How to Find Stale Active Directory User Accounts

As an Active Directory admin, there inevitably comes a time where you've got dozens or even hundreds of stale user accounts. In my environment of a little over 10,000 user accounts, there's always a few hundred that are no longer needed at any point in time.

Adam Bertram Avatar Adam Bertram

2 min. read

Get-AdUser: Finding Active Directory users with PowerShell

Learn few ways on how to find active directory user in your domain by using Powershell get-aduser cmdlet.

Adam Bertram Avatar Adam Bertram

4 min. read

Set-ExecutionPolicy: Fixing “execution of scripts is disabled on this system”

Learn about Set-ExecutionPolicy cmdlet which allows you to change your PowerShell execution policy in case of errors.

Adam Bertram Avatar Adam Bertram

3 min. read

Automating Employee Onboarding in Active Directory

This article was originally posted on the ConnectWise blog.

Adam Bertram Avatar Adam Bertram

2 min. read

Subscribe to Adam the Automator

Get the latest posts delivered right to your inbox