The term 'get-ADComputer' is not recognized as the name of a cmdlet

Viewed 3297

I'm watching this tutorial (https://www.youtube.com/watch?v=UVUd9_k9C6A&t=1640s) about PowerShell. At 2:57:50, the instructor runs Get-ADComputer. But when I try to run the same command, I get the following error message:

get-ADComputer : The term 'get-ADComputer' 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:1
+ get-ADComputer
+ ~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (get-ADComputer:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

How can I make it work?

0 Answers
Related