Download the Remote Server Administration Tools (RSAT) for Windows 7.On a Windows 7 computer, you can follow this procedure to install the Active Directory module: However, this guide explains how you can manage Active Directory from PowerShell Core even on macOS and Linux. At the time of this writing, the AD module that comes with RSAT does not work with PowerShell Core 6.0. The installation of the AD module varies significantly for the different Windows and PowerShell versions.
For Windows PowerShell, the document describes how to install the AD module for Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008 R2, Windows Server 2012 R2, and Windows Server 2016. This guide explains how to install the Active Directory (AD) module for PowerShell Core 6.0 and Windows PowerShell.