Created
March 3, 2016 13:24
-
-
Save absolutejam/53d1b158efbd06054754 to your computer and use it in GitHub Desktop.
ISE Snippets
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
New-ISESnippet -Title 'Match array values against string' ` | |
-Description 'Check to see if any value of an array is in a string.' ` | |
-Text 'if ($Array | ? { $StringToLookIn -match $_ }) {' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment