Skip to main content

Windows: Get local environment variables

Using Powershell

Get-ChildItem Env:

Do not forget colon (":") after Env.

Powershell: Get local environment variables
Powershell: Get local environment variables
Get a specific local variable, such as Path, ComputerName...
Get-ChildItem Env:Path | Format-List

Remember to add " | Format-List" to display full result.
Get Path local environment variable
Get Path local environment variable

Using Command Prompt

Just type SET without any parameters to display all the current environment variables.
Command Prompt: Get local environment variables
Command Prompt: Get local environment variables

Popular posts from this blog

Powershell: Install-WindowsFeature DHCP

Install-WindowsFeature DHCP Powershell: Install-WindowsFeature DHCP

Linux command: lspci

Linux command: lspci - list pci devices tuyendq@ubuntu001:~$ man lspci NAME        lspci - list all PCI devices SYNOPSIS        lspci [options] DESCRIPTION        lspci is a utility for displaying information about PCI buses in the system and devices connected to them.        By  default,  it  shows a brief list of devices. Use the options described below to request either a more verbose output or output intended for parsing by        other programs.        If you are going to report bugs in PCI device drivers or in lspci itself, please include output of "lspci -vvx" or even better  "lspci  -vvxxx"  (however,        see below for possible caveats).        Some  parts of the output, especially in the highly verbose modes, are probably intelligible only to experienced PCI hac...

Microsoft Windows: Commonly Used Shortcuts

Windows shortcuts Shortcuts Description Windows + Up Arrow Maximize active window Windows + Down Arrow Restore active window Windows + Left Arrow Move active window to half left of screen Windows + Right Arrow Move active window to half right of screen Windows + A Open Notifications window Windows + C Open C ortana Windows + E Open Windows E xplorer Windows + F Open Windows' F eedback Hub Windows + I Open Windows Settings Windows + L L ock screenr Windows + M M inimize all active windows Windows + P Send screen to P rojector Windows + R Open R UN dialog Windows + Pause Open System Properties window Windows + SHIFT + S Open S creenClipping tool CTRL + SHIFT + ESC Open Task Manager