Use `-contains`

PowerShell 2 errors with "Method invocation failed because [System.String[]] doesn't contain a method named 'IndexOf'.", see also https://github.com/aspnet/Home/pull/151
Merge pull request #73 from robrich/dev

Use `-contains`