Note: This section is applicable on Windows Active Directory Servers

While running “Get-AdGroupMember” on the powershell command line, and encountering the following:
The term ‘Get-ADGroupMember’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:18 ….
To resolve this, check if the ActiveDirectory module is present
import-module activedirectory
To check if exist try:
get-module -listavailable
ActiveDirectory module is default present in windows server 2008 R2, install it in this way:
Import-Module ServerManager
Add-WindowsFeature RSAT-AD-PowerShell