Question: the term 'get-aduser' is not recognized as the n?
Answer: Get-ADUser : The term 'Get-ADUser' 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. Also, your SearchBase string isn't identified in your example.