Active Directory Database Size Monitoring: Building a Monitor

The Active Directory database is, by far, the most important piece of AD. After all, without the database, AD wouldn't be much good at all. Where is the Active Directory database? Where is the ntds.dit location? And how to o you monitor the database? You'll learn the answer to these questions in this tutorial!

Adam Bertram Avatar Adam Bertram

2 min. read

Invoke-DscResource: DSC Without the Configuration

Prior to Windows Management Framework (WMF) v5, people that wanted to use Desired State Configuration (DSC) in PowerShell to apply configurations to their machines were forced to go through the same procedure if they wanted to provision an entire server or just install a single Windows feature. That's no more with the Invoke-DscResource cmdlet.

Adam Bertram Avatar Adam Bertram

3 min. read

How to Create your First Chocolatey Package

Learn how to create a Chocolatey package (a popular Windows packaging manager) and get back to doing tasks that matter.

Adam Bertram Avatar Adam Bertram

2 min. read

How to Connect to SQL Server from Linux

If you need to run queries on a Microsoft SQL Server from Linux, learn how to set up the ODBC connection and get started.

Adam Bertram Avatar Adam Bertram

3 min. read

How to Manage and Automate AWS EC2 Snapshots with PowerShell

Amazon Elastic Block Store (EBS) is a service that provides storage for Amazon EC2 instances. EBS is what every volume on your EC2 instances runs on. When you rely on a service to run important infrastructure it's wise to ensure that data is backed up. In this blog post, learn how to manage and automate AWS EC2 snapshots using the PowerShell scripting language.

Adam Bertram Avatar Adam Bertram

5 min. read

How to use Python WinRM on Linux to Query Windows Hosts

Need to run commands in Python on a Windows machine? Learn how to set up Python WinRM with PowerShell remoting in this guide!

Adam Bertram Avatar Adam Bertram

3 min. read

How to Check for a Pending Reboot in the Registry (Windows)

Whenever you install software, updates or make configuration changes, it's common for Windows to need a reboot. Many OS tasks sometimes force Windows to require a reboot. When a reboot is pending, Windows add some registry values to show that. In this blog post, you're going to learn how to check for a pending reboot and how to build a PowerShell script to automate the task.

Adam Bertram Avatar Adam Bertram

7 min. read

How to Check your PowerShell Version (All the Ways!)

Learn every way check PowerShell version that you have on local and remote computers both the bad and recommended ways.

Adam Bertram Avatar Adam Bertram

4 min. read

How to Import Users Into Active Directory the Easy Way

If you need to import users in an Active Directory domain, you've come to the right blog post. No more using Active Directory Users and Computers. In this post, you're going to use how to use PowerShell to read a CSV file and not only create users but also sync AD attributes with user accounts in the CSV file.

Adam Bertram Avatar Adam Bertram

3 min. read

Understanding and Using AWS Profiles in Windows PowerShell

Learn how to work with AWS profiles in PowerShell and how to create and manage profiles including using the default profile.

Adam Bertram Avatar Adam Bertram

4 min. read

How to Rename Amazon S3 Folder Objects with Python

Amazon's S3 service consists of objects with key values folder. Learn the Amazon S3 rename folder procedures using Python.

Adam Bertram Avatar Adam Bertram

3 min. read

How to Create (and Manage) Docker Volumes on Windows

Docker volumes are the preferred way of handling persistent data created by and used by Docker containers. Let's take a look at how this works by covering how to create Docker volumes on Windows. You'll also learn how to manage them too!

Adam Bertram Avatar Adam Bertram

7 min. read

Understanding the PowerShell Group Object Command

Learn Powershell group object cmdlet that helps you group like objects together based on a common property.

Adam Bertram Avatar Adam Bertram

3 min. read

Using WMI in PowerShell

Learn WMI's vast array of information, and learn Powershell WMI to automate thousands of tasks on Windows computers.

Adam Bertram Avatar Adam Bertram

3 min. read

How to Find Locked Out Users in Active Directory with PowerShell

Do the users in your organization ever forget their passwords? Surely not! Has an Active Directory user locked out their account? No way! Let's see what we can do to find locked out users in Active Directory with PowerShell!

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

Use PowerShell delete a user profile (step-by-step guide)

Learn the step by step guide on how to use Powershell to delete user profile of Windows users using the CIM command.

Adam Bertram Avatar Adam Bertram

3 min. read

How to Build a SQL Server Performance Monitor Script

Learn how to monitor SQL servers through Powershell SQL server performance counters and how to query them properly.

Adam Bertram Avatar Adam Bertram

4 min. read

PowerShell Tutorial: Building a Server Inventory Script

Written by a PowerShell MVP, learn how to create a real-world PowerShell script in this PowerShell tutorial for real, hands-on learning.

Adam Bertram Avatar Adam Bertram

29 min. read

Use PowerShell to get installed software remotely

Learn how to build a completely free tool that you acan use to easily find installed software on many Windows computers through Powershell.

Adam Bertram Avatar Adam Bertram

3 min. read

Subscribe to Adam the Automator

Get the latest posts delivered right to your inbox