Windows – Install ActiveDirectory powershell module on Windows 2016 Server

PS C:\> Get-WindowsFeature RSAT-AD*

PS C:\> Install-WindowsFeature RSAT-AD-PowerShell

PS C:\> import-module ActiveDirectory

PS C:\> Get-Command Get-ADComputer

PS C:\> Get-ADComputer -Filter 'Name -like "*SQL*"'

Leave a Reply

Your email address will not be published. Required fields are marked *