Skip to content

Update-Script reinstalls AllUser scoped scripts to user scope #12217

@echalone

Description

@echalone

I'm using Powershell 7.0.0 and when I'm updating a script via "Update-Script" which has originally been installed for the AllUsers scope, it will be reinstalled with the new version in the current user scope instead of the AllUsers scope.
I do not know about Update-Module, but it might have the same problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions