#TodayILearned, for reasons far too tedious to explain, that to imitate select-string, but reading the file first, you can do this:
[string[]]$Text = get-content $Fullname
foreach ($T in $Text) {select-string Salisbury -inputobject $T}
#TodayILearned, for reasons far too tedious to explain, that to imitate select-string, but reading the file first, you can do this:
[string[]]$Text = get-content $Fullname
foreach ($T in $Text) {select-string Salisbury -inputobject $T}