Invoke powershell problem

hi guys,
i have a problem using invoke powershell in uipath, i use it for running a script on my local computer, i installed the modules i need and it’s running fine. but when i deploy my project to the server, i get error saying “the term import-excel is not recognized as the name of cmdlet, …etc”
i already installed the importexcel module on the server too,
what could be the problem here that i should check on the server ?

Hi @RobertoEwaldo

Try this

While running powershell using invoke activity it throws exception "windows powershell run as administrator"