An open API service indexing awesome lists of open source software.

https://github.com/fornever/env-exporter

Export computer's environment variables to a file.
https://github.com/fornever/env-exporter

environment-variables powershell

Last synced: 4 months ago
JSON representation

Export computer's environment variables to a file.

Awesome Lists containing this project

README

          

env-exporter
============

PowerShell script to export computer's environment variables to a file. Useful
for bookkeeping.

Usage:

```console
$ ./Export-Env.ps1 E:/Temp/env.json
```

It will save the file of the following format:

```json
[
{
"scope": "User",
"variables": [
{ "name": "var1", "value": "value1" }
]
},
{
"scope": "Machine",
"variables": [
{ "name": "var1", "value": "value1" }
]
}
]
```