Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This vs environment psprovider? #1

Open
JustinGrote opened this issue Jul 19, 2019 · 1 comment
Open

This vs environment psprovider? #1

JustinGrote opened this issue Jul 19, 2019 · 1 comment

Comments

@JustinGrote
Copy link

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!

@mklement0
Copy link

mklement0 commented Aug 10, 2023

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants