Environment Variables

In DOS/Batch/cmd they are expressed as strings between percentage symbols, so the LocalAppData variable would be %LocalAppData%.
In PowerShell they are expressed with a preceeding $env:, so LocalAppData would be $env:LocalAppData.

You can list all current environment variables in PowerShell with the following:

Get-ChildItem env:

Useful env vars: