Recently saw a question asking why this code worked
PS> $a = 'aa'
PS> $b = 'a'
PS> $a -like "*$b*"
True
PS> Remove-Variable -Name b
PS> $a -like "*$b*"
True
Set 2 variables and compare using wildcards. The comparison comes back as True as… Read the full text.