EnvironmentVariableItems
2.3.1
Module with cmdlets to easily add or remove items from `'collection type`' Windows environment variables. For example, adding `'C:\foo`' to `$env:Path.
Minimum PowerShell version
5.0
Installation Options
Owners
Copyright
(c) Mike Flynn. All rights reserved.
Package Details
Author(s)
- Mike Flynn
Tags
environment variable EnvironmentVariable Windows path scope item split
Functions
Add-EnvironmentVariableItem Get-EnvironmentVariableItems Remove-EnvironmentVariableItem Show-EnvironmentVariableItems
Dependencies
This module has no dependencies.
Release Notes
2.1.0: Multi-scope support — ProcessAndMachine/pam and ProcessAndUser/pau update two scopes in one command.
Default scope changed to ProcessAndMachine.
Breaking: -Scope Machine/User/Process renamed to MachineOnly/UserOnly/ProcessOnly.
2.2.0: Default scope reverted to ProcessOnly — safer, non-destructive default.
Use -Scope pam/pau to persist changes across scopes.
2.2.2: Multi-scope confirmation prompt overhauled — all scope changes shown together
with scope labels ([Process]/[Machine]/[User]) before a single confirm/cancel prompt.
2.3.0: Scope names simplified back to originals: MachineOnly->Machine, UserOnly->User, ProcessOnly->Process.
Breaking change for users of v2.1.0-v2.2.x MachineOnly/UserOnly/ProcessOnly values.
2.3.1: Suppress current/new value output when -NoConfirmationRequired is set; only the result object is shown.
FileList
- EnvironmentVariableItems.nuspec
- EnvironmentVariableItems.psd1
- EnvironmentVariableItems.psm1
- LICENSE
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.3.1 (current version) | 0 | 3/12/2026 |
| 2.3.0 | 0 | 3/11/2026 |
| 2.2.2 | 0 | 3/10/2026 |
| 2.1.0 | 0 | 3/9/2026 |
| 2.0.0 | 0 | 3/7/2026 |
| 1.4.3 | 1,366 | 2/15/2021 |
| 1.4.2 | 37 | 2/12/2021 |
| 1.4.1 | 35 | 2/12/2021 |
| 1.3.1 | 33 | 2/11/2021 |
| 1.3.0 | 35 | 2/11/2021 |
| 1.2.8 | 36 | 2/10/2021 |
| 1.2.7 | 40 | 2/6/2021 |
| 1.2.6 | 36 | 2/5/2021 |
| 1.2.4 | 38 | 2/4/2021 |
| 1.2.3 | 37 | 2/4/2021 |
| 1.2.2 | 37 | 2/4/2021 |
| 1.2.1 | 37 | 2/4/2021 |
| 1.2.0 | 37 | 2/4/2021 |
| 1.1.0 | 35 | 2/4/2021 |
| 1.0.5 | 35 | 2/3/2021 |
| 1.0.4 | 34 | 2/3/2021 |
| 1.0.3 | 34 | 2/2/2021 |
| 1.0.2 | 35 | 2/2/2021 |
| 1.0.1 | 34 | 2/2/2021 |
| 1.0.0 | 36 | 2/2/2021 |