r/PowerShell • • Dec 09 '25

Data persistence for module

How would you implement basic data persistence for a little project.

Im storing project name, start time, end time, current state[not started, running , complete]

A project has many runs and I want to track each one. Run state. Start stop elapsed.

How would you persist the project state. I’m thinking a json file.

Any suggestions? Hope this makes sense

9 Upvotes

12 comments sorted by

View all comments

Show parent comment

2

u/AdmiralCA Dec 09 '25

Not a DBA, but I still write to a SQL server