view path powershell

C++
$Env:Path
Source

Also in C++: