Unix:

env

Windows Powershell:

Get-ChildItem Env:

PS C:\WINDOWS\system32\drivers\etc> Get-ChildItem Env:

Name Value
—- —–
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Users\Michael\AppData\Roaming
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME PACK6
ComSpec C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK NO
HOMEDRIVE C:
HOMEPATH \Users\Michael
JAVA_HOME D:\app\Java\jdk1.8.0_131
LOCALAPPDATA C:\Users\Michael\AppData\Local
LOGONSERVER \\PACK6
NUMBER_OF_PROCESSORS 6
OneDrive C:\Users\Michael\OneDrive
OS Windows_NT
Path D:\app\Java\jdk1.8.0_131\bin;C:\ProgramData\Oracle\Java\javapath;D:\app\client\Michae…
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 3f02
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Users\Michael\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShe…
PUBLIC C:\Users\Public
SystemDrive C:
SystemRoot C:\WINDOWS
TEMP C:\Users\Michael\AppData\Local\Temp
TMP C:\Users\Michael\AppData\Local\Temp
USERDOMAIN PACK6
USERDOMAIN_ROAMINGPROFILE PACK6
USERNAME Michael
USERPROFILE C:\Users\Michael
VBOX_MSI_INSTALL_PATH C:\VirtualBox\
windir C:\WINDOWS

Leave a Reply

Your email address will not be published. Required fields are marked *