[CmdletBinding()] param (
[string]$Pattern
)
begin {
}
process {
cmdkey /list | Where-Object { $_ -like "*Target:*" -and $_ -like "$Pattern" }
end {