Skip to content

Export computer's environment variables to a file.

License

Notifications You must be signed in to change notification settings

ForNeVeR/env-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

env-exporter

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

Usage:

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

It will save the file of the following format:

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

About

Export computer's environment variables to a file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages