PowerTip: Find Case-Specific Strings by Using PowerShell
Summary: Use Windows PowerShell to find case-specific strings.
How can I find a particular, case-sensitive word in a string?
Use Select-String and specify the –CaseSensitive switch:
"Hey Scripting Guy","hey scripting guy" | Select-String -Pattern 'hey' -CaseSensitive