The comparison with -like and –eq ignores uppercase and lowercase characters. As with -eq, -like has a counterpart, which is called -notlike. Search in collections with -contains. Another operator that could be mistakenly seen as a substring search operator is -contains. However, its purpose is to decide whether an array contains a …