PowerShell Consoles fails to load corectly.

This forum is for Office365 for LabTech (Ver 2) support. When posting remember to include screenshots of any relevant information.
Post Reply
User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

PowerShell Consoles fails to load corectly.

Post by Cubert »

There may be times when a Tech's PS console fails to load correctly after installing and verifying modules were installed. The problem is that modules were only installed to the 32 bit side and not the 64 bit side and the Tech's system is a 64 bit system.

The Error!!!
console-module-load-fail.PNG
console-module-load-fail.PNG (51.65 KiB) Viewed 8932 times
Here is how to fix.

When the modules verify is run it should place mods in the correct folders if it sees 64 bit systems. Sometimes this does not happen for one or more reasons.
mods-installed.PNG
mods-installed.PNG (29.59 KiB) Viewed 8932 times
If after running verify modules you still do not work correctly then run the following commands at the commandline.

Code: Select all

xcopy C:\Windows\System32\WindowsPowerShell\v1.0\Modules\MSOnline C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules\MSOnline\ /i /s /e /h
and

Code: Select all

xcopy C:\Windows\System32\WindowsPowerShell\v1.0\Modules\MSOnlineExtended C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules\MSOnlineExtended\ /i /s /e /h
Verify that the 2 folders exist in the syswow64\windowspowershell directory
64bit-modules.PNG
64bit-modules.PNG (21.89 KiB) Viewed 8932 times

Relaunch your consoles and all should now work as expected.

Post Reply

Return to “Office365 for LabTech”