Skip to content

This vs environment psprovider? #1

Open

Description

@JustinGrote

Since the Env: PSDrive works cross platform, is there something that this module is providing functionality-wise that I can't do with that?

Just wondering, thanks!

Activity

  1. mklement0 commented on Aug 10, 2023

    @mklement0

    @JustinGrote, this module is for managing persistent environment variables (also), via the Windows registry, which the Env: drive (environment provider) doesn't support - unfortunately, the README doesn't make that clear at the moment.

    As such, it complements the in-process-environment-variables-only environment provider, though there's definitely overlap, given that process-level variables can be managed too.

    That said, I would have preferred that this functionality be added to the environment provider itself, via dynamic parameters, as argued here.

    As for the cross-platform perspective: Unfortunately, there's no unified mechanism for storing and updating persistent environment variables across Unix-like platforms, so - like the .NET APIs - this module is Windows-only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions