Created
June 7, 2017 06:38
-
-
Save mallibone/9f1fdd41b8df92a480ca57cf6355ea55 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function HasEntryInDirectory($filename, $path) { | |
$entries = Get-ChildItem -Path $path | |
$entries -contains $filename | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment