by mappu · 8y ago · 0 comments
Powershell comes with a kind of FUSE mount for the registry:
PS C:\> Set-Location HKCU:
PS HKCU:\> Get-ChildItem -Recurse | where-object { $_.Name -match "HeidiSQL" } 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"} PS C:\> cd hkcu:
PS HKCU:\> ls -r | ? name -m 'HeidiSQL'