Pasted passwords and API keys sit unencrypted on your drive, and Clear-History won't erase them.
Windows PowerShell has a built-in History feature that remembers all the commands you executed when using it. While it should remember the History of the active session, I see that it retains more ...