Or for those who come from Unixland and see way too much typing, PowerShell has aliases that make this much shorter:
cd HKCU:
ls -r -i *HeidiSQL*
Or if you really want to use the match operator, regex, or other expression, you can still pipe it through the Where-Object alias: ls -r | ? {$_.Name -match "HeidiSQL"}