You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to install or save script with required module (like ActiveDirectory) which is also included in EXTERNALMODULEDEPENDENCIES metadata field, the cmdlet complains in verbose output about module not available in repository.
At the same time, when the same script ins in PSGallery, there is no problem installing/saving script.
PS > find-psresource send-passwordnotification -Repository test | Install-PSResourceInstall-PSResource: Package(s) 'Send-PasswordNotification' could not be installed from repository 'test'.PS > find-psresource send-passwordnotification -Repository test | Save-PSResource -Path c:\downloadsSave-PSResource: Package(s) 'Send-PasswordNotification' could not be installed from repository 'test'.PS ❯ Get-PSResourceRepository testName Uri Trusted Priority---- --- ------- --------test file:///C:/Projects/Repositories/test/ False 50
Required modules also mentioned in EXTERNALMODULEDEPENDENCIES metadata field should not be searched from local repository.
Error details
Verbose output for both commands has message:
VERBOSE: Package with name ActiveDirectory could not be found in repository 'test'.
Environment data
PSResourceGet: 1.0.0
PowerShell: 7.3.9, 5.1
Visuals
No response
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
Steps to reproduce
When trying to install or save script with required module (like ActiveDirectory) which is also included in EXTERNALMODULEDEPENDENCIES metadata field, the cmdlet complains in verbose output about module not available in repository.
At the same time, when the same script ins in PSGallery, there is no problem installing/saving script.
Expected behavior
Actual behavior
Required modules also mentioned in EXTERNALMODULEDEPENDENCIES metadata field should not be searched from local repository.
Error details
Verbose output for both commands has message:
VERBOSE: Package with name ActiveDirectory could not be found in repository 'test'.
Environment data
PSResourceGet: 1.0.0
PowerShell: 7.3.9, 5.1
Visuals
No response
The text was updated successfully, but these errors were encountered: