The -like and -notlike operators support simple wildcards. * matches a string of any length (zero or more) and ? matches a single character. Each of the following examples returns true:
'The cow jumped over the moon' -like '*moon*' 'Hello world' -like '??llo w*' '' -like '*' '' -notlike '?*'