Created
March 16, 2022 04:20
-
-
Save oscarrodar/5dbec4b9887d98625f14870c41c28df5 to your computer and use it in GitHub Desktop.
PATH Checker - PowerShell script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@($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