Skip to content

PSModuleRepositoryResource to be used to set existing repository to trusted/untrusted #12

Description

@jbpaux

Hello,

The PSModuleRepositoryResource is great to set repositories but you need to specify Name and SourceLocation. This is great to add new repositories but if you just want to set an existing repository to trusted it's overkill to specify again the source (example : PSGallery).
The underlying command should be Set-PSRepository -Name $name -InstallationPolicy $true/$false no need to add the sourcelocation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions