Product: PowerShell Universal
Version: PSU 1.5.12
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
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.
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
ok, got it working, thanks for the great support and have a good weekend, adam!