How can I get Power Shell environment variables? Which command should I execute. I am using windows 8.1
You can try this command:
Get-ChildItem Env:
Conclusion:
Name Value ---- ----- Path D:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\... TEMP C:\DOCUME~1\kmyer\LOCALS~1\Temp SESSIONNAME Console PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PS1;.PSC1 USERDOMAIN WINGROUP PROCESSOR_ARCHITECTURE x86 SystemDrive C: APPDATA C:\Documents and Settings\kmyer\Application Data windir C:\WINDOWS USERPROFILE C:\Documents and Settings\kmyer
Also check out the Windows PowerShell Tip for the week
For a given environment variable, such as Path, refer to it like this:
$env:Path
To see all the environment variables, you can visit Ps-Drive "env:"
cd env:
In this you can see and change all environment variables.
Source: https://habr.com/ru/post/1584836/More articles:Получить имя дня недели из jquery ui calendar - jqueryHow to get parent id by name of one class in jQuery? - jqueryEjabberd limits online users to 64,464. Descriptors have already increased - linuxhow to wait for the completion of the first team? - linuxСкопируйте определенную строку в текстовый файл с помощью PowerShell - powershellСоздание PDF из сложной таблицы html с использованием JSPDF - javascriptExample ftp session using Elixir? - elixirRuby CSV заголовки не в первой строке - rubyFailed to create multiple user db tables when activating wp plugin - phpStrange error "java.io.IOException: EOF" in Android - javaAll Articles