Files
powerfulcomputermanager/doc/file_hierarchy.md

1.0 KiB

File hierarchy

Root folder

- api.py -> Server file. It manages all requests from clients and connects to database
- loadserver.bat -> A helper to run api.py on Windows
- sql.py -> Helper for api.py sql sentences
- sysopt.py -> Config of api and sql

Client folder

- client.ps1 -> This file has to run every X time (I suggest every hour) on every client and as NT\SYSTEM or local admin. You can do this with a Task Schedule as SYSTEM in a GPO (Active Directory)
- control.ps1 -> This is the cli of the program. With that you manages the client-server program. It has to be in same folder as client.ps1 file

BD folder

- database.db -> Database file in sqlite3

cooks folder

It has the cooks in yaml format. 
Warning: Do not change name of cooks created and assigned directly.

Doc folder

Documentation...

REPO folder (This isn't needeed to be there)

You have to have this shared on LAN, this is the folder that cooks use to retrieve your files (As .exe/.msi) to use in scripts.