Powershell text search won’t find strings with spaces
I have aproblem with this Powershell snippet. The problem is that when @search_string is one single string, it finds it in the file, BUT when @search_string contains as space, it doesn’t find it. e.g. if @search_string = “music”, it finds it in the documents but my problem is, if @search_string = “rock music”, “rock music” is not found in the documents even though it is in there. My snippet