There are actually two places where your commands get stored: One is maintained by PowerShell (Get-History, Invoke-History). The other one is maintained by the console, and you have seen in previous tips how to open the list by pressing F7. To clear the PowerShell history, use Clear-History. To clear the console history buffer, press ALT+F7.