I'm trying to find all the file starting with dt and extension c* that have this precise string inside "CheckAnagrEA" The problem is that this cmdlet returns also files that have "CheckAnagrEAInsert" etc.
Here's the code:
$cnt = Get-ChildItem $githubfolder -Filter DT*.c* -Recurse -Exclude *.sql | Select-String -pattern "CheckAnagrEA"
How can i find ONLY the wholeword?
CheckAnagrEAa folder name?