File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -947,7 +947,15 @@ typical call looks like
947
947
PSReadLine requires PowerShell 3.0, or newer, and the console host. It does
948
948
not work in PowerShell ISE. It does work in the console of Visual Studio Code.
949
949
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
951
959
952
960
[ PSReadLine on GitHub] ( https://github.com/lzybkr/PSReadLine )
953
961
Original file line number Diff line number Diff line change @@ -947,7 +947,15 @@ typical call looks like
947
947
PSReadLine requires PowerShell 3.0, or newer, and the console host. It does
948
948
not work in PowerShell ISE. It does work in the console of Visual Studio Code.
949
949
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
951
959
952
960
[ PSReadLine on GitHub] ( https://github.com/lzybkr/PSReadLine )
953
961
You can’t perform that action at this time.
0 commit comments