The term ‘Get-ADUser’ is not recognized as the name of a cmdlet
If the ActiveDirectory module is present add before your code. To check if exist try: ActiveDirectory module is default present in windows server 2008 R2, install it in this way: For have it to work you need at least one DC in the domain as windows 2008 R2 and have Active Directory Web Services (ADWS) … Read more