Using PowerShell

List the current environment variables:

Get-ChildItem Env:

Get the values of environment variable:

$env:{variable name}

# Example, cd Java Home

cd $env:JAVA_HOME

Get a Random UUID

New-Guid

# Copy result to clipboard
(New-Guid).Guid | clip

windows command

Back