Import Module with custom powershell activity not working
This content was last updated in 2018. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2017 10:04 PM
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:
Thanks for your help
- Labels:
-
Orchestration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2017 12:52 AM
You can trouble the power shell,
Refer the below links may helpful to you.
PowerShell protocols and troubleshooting
http://wiki.servicenow.com/index.php?title=Powershell_Probe#gsc.tab=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2017 07:15 AM
Hello Christoph,
May i ask you how did you install the lync powershell module on the mid Server?
Thank you in advance,
Manolis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2018 02:13 AM
Chris,
Do you happen to find any solution to import AD module?
Thanks
MJ