[COMMUNITY] add user to Set-EnvironmentVariable
Issue #151
resolved
I have a requirement to add an env var to a user that is not me.
If we can extend this check, to have a if another user, that would go a long way to helping that this.
{code} if( $ForUser ) { [EnvironmentVariableTarget]::User } {code}
Comments (4)
-
-
- marked as minor
-
- changed title to [COMMUNITY] add user to Set-EnvironmentVariable
- marked as major
-
- changed status to resolved
Fixed by 2476b7e.
- Log in to comment
This is possible, yes. You'd have to supply credentials and Carbon would have to fork a separate process. Kind of involved. I'll add it to the to-do list.