Ever try to decipher your PATH or CLASSPATH variable? Try one of these in Powershell:

$env:Path.Split(";")
%SystemRoot%\system32\WindowsPowerShell\v1.0\
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files (x86)\QuickTime\QTSystem\
C:\Program Files\Microsoft\Web Platform Installer\
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\
C:\Program Files\Microsoft SQL Server10\Tools\Binn\
$env:CLASSPATH.Split(";")
.
C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip

Isn’t that a lot easier to peruse than this?

%SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System
32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Microsoft\Web Platform Installer
\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn
\

Just in case you didn’t follow, I refer to the environment variable with the PSDrive reference env:ENV_VAR_NAME_HERE (hint: try dir env: or Get-ChildItem env:), and since it’s a string I can use the string method .Split() to divide the string by semicolons and list each entry out on its own line.