Created
June 1, 2015 08:24
-
-
Save mdehaas/9224830e5402d299405c to your computer and use it in GitHub Desktop.
Test PATH for non-existing folders [Microsoft Operations Management Suite]
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
ForEach ($pItem in ($env:Path.split(";"))) {Write-output $pItem;Test-Path $pItem} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment