You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
By default, when Add-JournalEntryContent is used, the command text is persisted to PSReadLine history. Given that this text could easily contain sensitive information, users should be warned about this risk and advised how to configure PSReadLine to avoid storing this command in history.
Tasks
When Add-JournalEntryContent is run, warn users that this command is persisted to history.
Allow users to disable this warning going forward.
Provide a link to the documentation website where it describes how to configure PSReadLine to skip logging this command.
Add this information to the documentation website.
Summary
By default, when
Add-JournalEntryContentis used, the command text is persisted to PSReadLine history. Given that this text could easily contain sensitive information, users should be warned about this risk and advised how to configure PSReadLine to avoid storing this command in history.Tasks
Add-JournalEntryContentis run, warn users that this command is persisted to history.Solution
https://docs.microsoft.com/en-us/powershell/module/psreadline/about/about_psreadline?view=powershell-7