PSU 1.5.12 UD Issue

Product: PowerShell Universal
Version: PSU 1.5.12

Hi guys
On fresh installation, when trying to add modules to a UD-Dashboard, I get:

Import-Module: The specified module ‘Cmdlets\Universal.psd1’ was not loaded because no valid module file was found in any module directory.
PS C:\Users\RootAdmin> Import-Module ‘C:\ProgramData\PowerShellUniversal\Server\UniversalDashboard\Frameworks\v3*.psd1’ -Force

Hi @sanjosetour,

It looks like we have a bit of an issue with how we are discovering the module. It’s using the server path setting which doesn’t need to be set any more. We’ll get this fixed in a future version. You can work around this by setting the installation folder into the settings.

image

you mean install psu server with this command from scratch ?

Install-PSUServer -LatestVersion -Path “C:\Program Files (x86)\Universal” ?

Nope, you just need to update your settings in VS Code to wherever you installed it to begin with. If you used Install-PSUServer, then the default path will be: C:\ProgramData\PowerShellUniversal\Server

1 Like

ok, got it working, thanks for the great support and have a good weekend, adam!

1 Like