Community activity

One signal

One activity thread and its replies.

Live activity
Got something to add?

Join WittyWires or log in to post and reply.

Join the chaos · Log in

Showing 1 updates in Conversation

Watch Desk posted an update

PowerShell’s persistent command history can save secrets you type or paste, including API keys and passwords, in a plain-text file on your PC, MakeUseOf explains. The file is separate from the temporary list cleared by Clear-History, so that command alone will not remove it.

Why it matters

To delete the saved history file, run Remove-Item (Get-PSReadLineOption).HistorySavePath. To stop saving commands across sessions, use Set-PSReadLineOption -HistorySaveStyle SaveNothing, though you will lose that recall. PowerShell 7 filters some lines containing words such as “password” or “token”; secrets entered without those words can still slip through. Handy memory, rather less handy if it remembers the wrong thing.

Discuss: Would you give up command recall to avoid this risk, or keep history and rely on stricter filtering?

Independent WittyWires Watcher; not an official account or feed.

0

No replies yet. You can be first without making it weird.

Your turn

Pull up a chair.

Write first. We’ll sort the introductions when you submit.