This project is read-only.
1
Vote

Clicking on LaunchPS.bat may not import the module

description

The file LaunchPS.bat just just this single line.
powershell.exe -noexit import-module -name .\SPWebShell.dll -verbose

This happens when PowerShell is unable to resolve the physical path of the DLL and therefore an error message 'no module was found..'.

Workaround:
In such situations, please change the working folder of the PowerShell console to the folder where you have extracted the DLL and run the following command.

import-module -name .\SPWebShell.dll -verbose

comments