Skip to content

Instantly share code, notes, and snippets.

@oscarrodar
Created March 16, 2022 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oscarrodar/5dbec4b9887d98625f14870c41c28df5 to your computer and use it in GitHub Desktop.
Save oscarrodar/5dbec4b9887d98625f14870c41c28df5 to your computer and use it in GitHub Desktop.
PATH Checker - PowerShell script
@($env:path -split ";").ForEach({ if($_) {$result = 'MISSING |';if(Test-Path -path $_) { $result = ' OK |'};-join($result, ' ', $_); }})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment