---
title: "Discussion on \"PowerShell - Where is the command history stored?\" | Hashnode"
description: "Discussion on \"PowerShell - Where is the command history stored?\". Every command you type into a PowerShell console is recorded in a single file in the current user's app data directory. This is useful when you need to refer back to a command you entered but it can be security risk if you've entered sensitive data i..."
url: "https://hashnode.com/posts/powershell-where-is-the-command-history-stored/65b0098d0446a33bc2f899fa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [PowerShell - Where is the command history stored?](https://itsallinthecode.com/powershell-where-is-the-command-history-stored?utm_source=hashnode&utm_medium=feed)

Every command you type into a PowerShell console is recorded in a single file in the current user's app data directory. This is useful when you need to refer back to a command you entered but it can be security risk if you've entered sensitive data i...

Jul 30, 2019 · 1 min read · itsallinthecode.com  
Read the article

## Written by

[Rob](https://hashnode.com/@itsallinthecode)

@itsallinthecode

  
[View profile](https://hashnode.com/@itsallinthecode)

Automating

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
