File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -1398,6 +1398,16 @@ typical call looks like
1398
1398
PSReadLine requires PowerShell 3.0, or newer, and the console host. It does
1399
1399
not work in PowerShell ISE. It does work in the console of Visual Studio Code.
1400
1400
1401
+ ### COMMAND HISTORY
1402
+
1403
+ PSReadLine maintains a history file containing all the commands and data you have entered from the
1404
+ command line. This may contain sensitive data including passwords. For example, if you use the
1405
+ ` ConvertTo-SecureString ` cmdlet the password is logged in the history file as plain text. The
1406
+ history files is a file named ` $($host.Name)_history.txt ` . On Windows systems the history file is
1407
+ stored at ` $env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine ` . On non-Windows systems, the
1408
+ history files is stored at ` $env:XDG_DATA_HOME/powershell/PSReadLine ` or
1409
+ ` $env:HOME/.local/share/powershell/PSReadLine ` .
1410
+
1401
1411
### FEEDBACK & CONTRIBUTING TO PSReadLine
1402
1412
1403
1413
[ PSReadLine on GitHub] ( https://github.com/lzybkr/PSReadLine )
Original file line number Diff line number Diff line change @@ -1398,6 +1398,16 @@ typical call looks like
1398
1398
PSReadLine requires PowerShell 3.0, or newer, and the console host. It does
1399
1399
not work in PowerShell ISE. It does work in the console of Visual Studio Code.
1400
1400
1401
+ ### COMMAND HISTORY
1402
+
1403
+ PSReadLine maintains a history file containing all the commands and data you have entered from the
1404
+ command line. This may contain sensitive data including passwords. For example, if you use the
1405
+ ` ConvertTo-SecureString ` cmdlet the password is logged in the history file as plain text. The
1406
+ history files is a file named ` $($host.Name)_history.txt ` . On Windows systems the history file is
1407
+ stored at ` $env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine ` . On non-Windows systems, the
1408
+ history files is stored at ` $env:XDG_DATA_HOME/powershell/PSReadLine ` or
1409
+ ` $env:HOME/.local/share/powershell/PSReadLine ` .
1410
+
1401
1411
### FEEDBACK & CONTRIBUTING TO PSReadLine
1402
1412
1403
1413
[ PSReadLine on GitHub] ( https://github.com/lzybkr/PSReadLine )
You can’t perform that action at this time.
0 commit comments