Search notes:

%APPDATA%\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt

This file is the default location for the file that stores the PowerShell command history.
This location can be queried like so
(get-psReadLineOption).historySavePath

Index