Skip to content

Update-PSResource should check versions before installing new version #532

@PaulHigin

Description

@PaulHigin

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.

Steps to reproduce

Update-PSResource -Name Microsoft.PowerShell.SecretStore -Repository PSGallery -Scope AllUsers -Force

Expected behavior

Microsoft.PowerShell.SecretStore is not affected because it is already up to date.

Actual behavior

Microsoft.PowerShell.SecretStore is reinstalled, even though it is already up to date.

Error details

None

Environment data

None

Visuals

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions