Import Module with custom powershell activity not working

chrisw_
Tera Contributor

HI Together,

I ´m trying to run a custom powershell activity which should Import the lync module on the mid-Server.

Then get the UPN of the user and run some lync commands.

I have installed the lync powershell module on the mid Server and can also Import it directly on the Server.

But anytime i try it within the Orchestration powershell activity i get the following error:

The specified module 'lync' was not loaded because no valid module file was found in any module directory

What i ´m doing wrong ?

My Script Looks like this:

find_real_file.png

Thanks for your help

7 REPLIES 7

You can trouble the power shell,



Refer the below links may helpful to you.



PowerShell troubleshooting



PowerShell protocols and troubleshooting


http://wiki.servicenow.com/index.php?title=Powershell_Probe#gsc.tab=0


Karthik Reddy T.
ServiceNow Commnunity MVP -2018 class.

Manolis Sgouro1
Tera Contributor

Hello Christoph,



May i ask you how did you install the lync powershell module on the mid Server?



Thank you in advance,


Manolis.


janrameez
Giga Contributor

Chris,

Do you happen to find any solution to import AD module?

Thanks

MJ