Skip to content

Commit 5d2f0ed

Browse files
authored
add update from PR#4831 to v5/5.1 (#4842)
1 parent 49c4d10 commit 5d2f0ed

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

reference/5.0/PSReadline/About/about_PSReadline.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,15 @@ typical call looks like
947947
PSReadLine requires PowerShell 3.0, or newer, and the console host. It does
948948
not work in PowerShell ISE. It does work in the console of Visual Studio Code.
949949

950-
### FEEDBACK & CONTRIBUTING TO PSREADLINE
950+
### COMMAND HISTORY
951+
952+
PSReadLine maintains a history file containing all the commands and data you have entered from the
953+
command line. This may contain sensitive data including passwords. For example, if you use the
954+
`ConvertTo-SecureString` cmdlet the password is logged in the history file as plain text. The
955+
history files is a file named `$($host.Name)_history.txt`. On Windows systems the history file is
956+
stored at `$env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine`.
957+
958+
### FEEDBACK & CONTRIBUTING TO PSReadLine
951959

952960
[PSReadLine on GitHub](https://github.com/lzybkr/PSReadLine)
953961

reference/5.1/PSReadline/About/about_PSReadline.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,15 @@ typical call looks like
947947
PSReadLine requires PowerShell 3.0, or newer, and the console host. It does
948948
not work in PowerShell ISE. It does work in the console of Visual Studio Code.
949949

950-
### FEEDBACK & CONTRIBUTING TO PSREADLINE
950+
### COMMAND HISTORY
951+
952+
PSReadLine maintains a history file containing all the commands and data you have entered from the
953+
command line. This may contain sensitive data including passwords. For example, if you use the
954+
`ConvertTo-SecureString` cmdlet the password is logged in the history file as plain text. The
955+
history files is a file named `$($host.Name)_history.txt`. On Windows systems the history file is
956+
stored at `$env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine`.
957+
958+
### FEEDBACK & CONTRIBUTING TO PSReadLine
951959

952960
[PSReadLine on GitHub](https://github.com/lzybkr/PSReadLine)
953961

0 commit comments

Comments
 (0)