Closed SylvainMartel closed 5 years ago
I found the problem(but not the solution yet) Somehow, the module gets installed in C:\Program Files\WindowsPowerShell\Modules\StorageDsc\4.6.0
but the manifest specify 4.6.0.0
When I manually rename the folder to 4.6.0.0 the module is seen correctly. Installing it from PSGallery does not produce this(yet the nupkg is the one from PSGallery) Anyway, it seems it is related to the internal nuget server I guess. Let's close this.
P.S. I found the problem thanks to test-modulemanifest
I've installed the module StorageDSC on a target computer, from an internal nuget server, using Install-Module. When I look on the target, I see StorageDSC correctly installed under c:\program Files\modules.
But when try to load one of it's resources, i.e. OpticalDiskDriveLetter, powershell tells me it cannot find that module. If I do a
get-dscresource
, other module installed, like LanguageDSC or xRemoteDesktopAdmin, are listed, but StorageDSC is not.Any idea why we get this behavior?