I want to check the PATH environment variable in PowerShell
I've tried
Get-ChildItem env:path
I want to get the complete path, but get only a very small part of it. How much I get depends on the width of the PowerShell window, e.g.
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Progra...
$env:Path -replace ';', "`n"
– Corpsman$env:Path
alone will expand the list so you can read it all. However, the replacement with CrLf is very nice. – Aerostation