Get-ADUser not recognized


I’m trying to write a script for Powershell that will display the date/time of last login and date/time of last password change for every user and separate the data according to their Organizational Unit within Active Directory.

I’m getting a number of errors, including one that says Get-ADUser isn’t even recognized as a command. Any thoughts? Here’s my script:

I’ve also tried
import-module activedirectory
but get errors with that too.

Here are some of the parameters I’ve been given:


Any and all help is appreciated! Thank you!


If you need the Active Directory Powershell cmdlets on Windows 10 later verisons they can be installed as follows:


Get-ADUser not recognized by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply