# Where a Tool Keeps Its Data

A tool keeps its data in a folder of its own under $env:LOCALAPPDATA, builds the path with Join-Path, creates the folder the first time it runs, and saves and loads its objects as JSON, so what you add today is still there tomorrow, whatever folder you're in.

![Cheat sheet for the lesson Where a Tool Keeps Its Data: A tool keeps its data in a folder of its own under $env:LOCALAPPDATA, builds the path with Join-Path, creates the folder the first time it runs, and saves and loads its objects as JSON, so what you add today is still there tomorrow, whatever…](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/cfdc729687194f00a17e6d5bedb48ace.webp)

- Category: PowerShell
- Level: Journeyman
- Tags: appdata, convertto-json, environment-variable, join-path, operating-system, powershell, test-path
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/powershell-app-data-cheat-sheet
