Get-Content (Get-PSReadlineOption).HistorySavePath | Select-String -Pattern "Invoke-MyCommand"
piping it into the more command can be benificial
Where is the command history kept?