How to print PATH environment variable in PowerShell (Core)

Run

$env:PATH

to show theĀ PATH environment variable in PowerShell.