-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDemoFileSystem.cs
More file actions
483 lines (431 loc) · 25.8 KB
/
Copy pathDemoFileSystem.cs
File metadata and controls
483 lines (431 loc) · 25.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
using System;
using System.Collections.Generic;
// The machine --demo pretends to be: one MSP field technician's workstation, invented whole.
//
// It exists so the surfaces that show a filesystem agree with each other. The folder tree
// (FolderTree.cs), the browse listings and This PC (Browse.cs) and the icon view all read this
// one table in demo mode, and the fabricated search results (DemoMode.cs) name paths out of it,
// so a capture with two of them on screen describes a single coherent machine. Three separately
// invented listings would contradict each other the moment they were photographed together,
// which is exactly what a marketing screenshot does.
//
// Everything here is FIXED - fixed names, fixed sizes, fixed dates, no DateTime.Now anywhere.
// That is the same intent as the fixed RNG seed in DemoMode.cs: a capture retaken next month
// has to match the one taken today, or the whole set has to be shot again.
//
// The content leans on what this app is for. Scripts, dated logs, exports, runbooks and ticket
// attachments are what a field tech's disk actually holds, and they are also what makes the
// .ps1 / .log / .reg highlighting and the "content: TODO" search look like themselves rather
// than like a demo.
//
// Every path here is syntactically legal Windows, which matters more than it looks:
// EnumerateChildren and ListFolder catch UnauthorizedAccessException and IOException but not
// ArgumentException, and the tree's expand handler is async void, so one illegal character
// would be an unhandled crash rather than an empty folder.
namespace KillerShell
{
internal static class DemoFs
{
internal sealed class Entry
{
public string Name = string.Empty;
public bool IsDir;
public long Size;
public DateTime Modified;
}
private const long Kb = 1024L;
private const long Mb = 1024L * 1024L;
private const long Gb = 1024L * 1024L * 1024L;
private static readonly Dictionary<string, List<Entry>> Table =
new Dictionary<string, List<Entry>>(StringComparer.OrdinalIgnoreCase);
private static readonly List<Entry> Nothing = new List<Entry>();
private static readonly List<string> Roots = new List<string> { @"C:\", @"D:\" };
/// <summary>The fabricated volumes, in the order the tree and This PC list them.</summary>
internal static IReadOnlyList<string> Drives => Roots;
/// <summary>True when <paramref name="path"/> is a folder on the fabricated machine.</summary>
internal static bool Has(string path) => Table.ContainsKey(Key(path));
/// <summary>
/// What is inside <paramref name="path"/>. Empty rather than null for a folder that was
/// never invented, so a caller can list one it has not heard of without checking first -
/// which is what an expander arrow opening onto nothing already means in the tree.
/// </summary>
internal static IReadOnlyList<Entry> Children(string path)
=> Table.TryGetValue(Key(path), out var kids) ? kids : Nothing;
/// <summary>
/// "Local Disk (C:)" style label, the shape FolderNode.DriveLabel gives a real volume, so
/// a fabricated drive is named the same way in the tree and in the This PC listing.
/// </summary>
internal static string DriveLabel(string root)
{
string key = Key(root);
if (string.Equals(key, @"C:\", StringComparison.OrdinalIgnoreCase)) return "Local Disk (C:)";
if (string.Equals(key, @"D:\", StringComparison.OrdinalIgnoreCase)) return "Field Backup (D:)";
return key.TrimEnd('\\');
}
// One spelling per folder, so C:\Users\steve and C:\Users\steve\ land on the same row.
// A BARE DRIVE ROOT keeps its separator: "C:\" trimmed to "C:" is not the drive, it is
// the drive-RELATIVE path, which Windows resolves against a current directory - the same
// trap ParentOf documents in Browse.cs.
private static string Key(string path)
{
if (string.IsNullOrWhiteSpace(path)) return string.Empty;
string p = path.Trim();
while (p.Length > 3 && (p[p.Length - 1] == '\\' || p[p.Length - 1] == '/'))
p = p.Substring(0, p.Length - 1);
return p;
}
// The clock part of a timestamp is DERIVED from the name rather than written out. Giving
// every entry the same hour and minute made the modified column read as a wall of
// identical times, and spelling one out per file would have tripled the table; a hash of
// the name varies them and is still the same on every run, which is the whole point.
private static DateTime Stamp(string name, int y, int m, int d)
{
int h = 0;
foreach (char c in name) h = h * 31 + c;
h &= 0x7FFFFFF;
return new DateTime(y, m, d, 7 + h % 12, h % 60, h % 60);
}
private static Entry D(string name, int y, int m, int d)
=> new Entry { Name = name, IsDir = true, Modified = Stamp(name, y, m, d) };
private static Entry F(string name, long size, int y, int m, int d)
=> new Entry { Name = name, Size = size, Modified = Stamp(name, y, m, d) };
// Declaration order in the table below does not matter: each folder is sorted by name as
// it is added, which is the order NTFS hands entries back in. That keeps the "as found"
// sort looking like a real listing rather than like the order somebody typed the table.
private static void Add(string folder, params Entry[] entries)
{
var list = new List<Entry>(entries);
list.Sort((a, b) => string.Compare(a.Name, b.Name, StringComparison.OrdinalIgnoreCase));
Table[Key(folder)] = list;
}
static DemoFs()
{
// ── C: ───────────────────────────────────────────────
Add(@"C:\",
D("Program Files", 2026, 6, 18),
D("Program Files (x86)", 2026, 4, 2),
D("Tools", 2026, 6, 9),
D("Users", 2026, 1, 14),
D("Windows", 2026, 7, 2),
F("pagefile.sys", 8 * Gb, 2026, 7, 3));
Add(@"C:\Program Files",
D("7-Zip", 2025, 11, 4),
D("Common Files", 2026, 2, 19),
D("Datto RMM", 2026, 5, 27),
D("Git", 2026, 3, 8),
D("KillerShell", 2026, 7, 1),
D("Microsoft Office", 2026, 1, 22),
D("PowerShell", 2026, 6, 11),
D("ScreenConnect Client", 2026, 6, 30),
D("SentinelOne", 2026, 6, 24),
D("Veeam", 2026, 5, 6),
D("Windows Defender", 2026, 6, 28),
D("WindowsApps", 2026, 4, 17));
Add(@"C:\Program Files (x86)",
D("Common Files", 2026, 2, 19),
D("Internet Explorer", 2025, 9, 12),
D("Microsoft", 2026, 1, 30),
D("Mozilla Firefox", 2026, 6, 21),
D("Notepad++", 2026, 3, 15),
D("PDF24", 2026, 2, 3),
D("TeamViewer", 2026, 5, 19),
D("Windows Kits", 2025, 12, 8));
Add(@"C:\Windows",
D("Boot", 2025, 8, 14),
D("Fonts", 2026, 6, 12),
D("INF", 2026, 6, 29),
D("Logs", 2026, 7, 2),
D("Panther", 2026, 5, 3),
D("Prefetch", 2026, 7, 3),
D("System32", 2026, 7, 1),
D("SysWOW64", 2026, 7, 1),
D("Temp", 2026, 7, 3),
D("WinSxS", 2026, 6, 28),
D("servicing", 2026, 6, 28),
F("explorer.exe", 5 * Mb, 2026, 6, 28),
F("HelpPane.exe", 1090 * Kb, 2026, 3, 11),
F("notepad.exe", 360 * Kb, 2026, 3, 11),
F("system.ini", 219, 2025, 8, 14),
F("win.ini", 92, 2025, 8, 14));
// Portable utilities, the folder every field tech has. Also the one place in the
// fabricated tree with .exe and .reg in it, which is what exercises the per-file
// icon fallback in Services\IconCache.cs.
Add(@"C:\Tools",
D("Sysinternals", 2026, 4, 22),
D("bin", 2026, 5, 15),
F("autoruns.exe", 2100 * Kb, 2026, 4, 22),
F("bginfo.exe", 1400 * Kb, 2026, 4, 22),
F("disable-fastboot.reg", 412, 2026, 2, 9),
F("Everything.exe", 2600 * Kb, 2026, 5, 15),
F("nircmd.exe", 148 * Kb, 2025, 12, 1),
F("procmon.exe", 3800 * Kb, 2026, 4, 22),
F("PsExec.exe", 680 * Kb, 2026, 4, 22),
F("rdp-tuning.reg", 268, 2026, 3, 27),
F("rufus.exe", 1500 * Kb, 2026, 1, 18),
F("WinDirStat.exe", 920 * Kb, 2025, 10, 6),
F("wsus-client.reg", 704, 2026, 6, 2));
// ── The user ─────────────────────────────────────────
// The name stays "steve". The fabricated content is what keeps a capture safe, not a
// renamed profile, and a demo whose paths do not match the ones in the search results
// is worse than one that shares a first name with the machine it was shot on.
Add(@"C:\Users",
D("Public", 2025, 11, 2),
D("steve", 2026, 7, 3));
Add(@"C:\Users\Public",
D("Desktop", 2025, 11, 2),
D("Documents", 2025, 11, 2),
D("Downloads", 2025, 11, 2),
D("Music", 2025, 11, 2),
D("Pictures", 2025, 11, 2),
D("Videos", 2025, 11, 2),
F("desktop.ini", 174, 2025, 11, 2));
Add(@"C:\Users\steve",
D("AppData", 2026, 7, 3),
D("code", 2026, 7, 2),
D("Desktop", 2026, 7, 2),
D("Documents", 2026, 6, 30),
D("Downloads", 2026, 6, 27),
D("Logs", 2026, 7, 1),
D("Pictures", 2026, 6, 14),
D("Videos", 2026, 2, 8),
F("KillerShell.lnk", 2 * Kb, 2026, 7, 1),
F("scratch.txt", 3 * Kb, 2026, 7, 3),
F("todo.md", 6 * Kb, 2026, 7, 3));
Add(@"C:\Users\steve\AppData",
D("Local", 2026, 7, 3),
D("LocalLow", 2026, 5, 20),
D("Roaming", 2026, 7, 2));
Add(@"C:\Users\steve\Desktop",
D("Ticket attachments", 2026, 7, 2),
F("Cedar Ridge - core switch.txt", 14 * Kb, 2026, 6, 26),
F("Fairview - RDP.lnk", 2 * Kb, 2026, 5, 30),
F("handover.docx", 48 * Kb, 2026, 6, 19),
F("KillerShell.lnk", 2 * Kb, 2026, 7, 1),
F("onsite-checklist.pdf", 180 * Kb, 2026, 4, 11),
F("screenshot-2026-07-02.png", 1450 * Kb, 2026, 7, 2),
F("Ticket 48213 - notes.txt", 6 * Kb, 2026, 7, 2));
Add(@"C:\Users\steve\Desktop\Ticket attachments",
F("48197-dxdiag.txt", 42 * Kb, 2026, 6, 17),
F("48213-eventlog.evtx", 2100 * Kb, 2026, 7, 2),
F("48213-ipconfig.txt", 4 * Kb, 2026, 7, 2),
F("48244-msinfo32.nfo", 310 * Kb, 2026, 6, 29),
F("48244-photo-rack.jpg", 3600 * Kb, 2026, 6, 29),
F("48251-mxtoolbox.png", 260 * Kb, 2026, 7, 1));
// The showcase folder for the icon view: four subfolders and a deliberately wide
// spread of extensions, so every tile draws a different glyph.
Add(@"C:\Users\steve\Documents",
D("Archive", 2026, 1, 6),
D("Exports", 2026, 6, 30),
D("Invoices", 2026, 6, 22),
D("Runbooks", 2026, 6, 25),
F("asset-photos.zip", 22 * Mb, 2026, 5, 23),
F("backup-report.html", 88 * Kb, 2026, 7, 1),
F("Client Onboarding.docx", 62 * Kb, 2026, 3, 4),
F("contacts.vcf", 4 * Kb, 2025, 12, 15),
F("Fairview - network diagram.vsdx", 1150 * Kb, 2026, 2, 27),
F("invoice_template.docx", 28 * Kb, 2025, 9, 3),
F("logo-fairview.png", 210 * Kb, 2026, 1, 20),
F("meeting-notes.one", 512 * Kb, 2026, 6, 18),
F("msp-rate-card.xlsx", 41 * Kb, 2026, 4, 30),
F("Password Policy.pdf", 240 * Kb, 2026, 2, 12),
F("quarterly-review.pptx", 3200 * Kb, 2026, 6, 30),
F("scope-of-work.txt", 9 * Kb, 2026, 5, 8),
F("Site Survey - Cedar Ridge.xlsx", 96 * Kb, 2026, 6, 5),
F("warranty-lookup.csv", 18 * Kb, 2026, 6, 11));
// A year of them, the same twelve months the fabricated name search finds
// (DemoMode.cs tab 1 walks 2025-07 forward). The two listings have to name the same
// files, or a capture of the search beside a capture of the folder shows two
// different machines.
Add(@"C:\Users\steve\Documents\Invoices",
F("invoice_2025-07.pdf", 52 * Kb, 2025, 7, 14),
F("invoice_2025-08.pdf", 61 * Kb, 2025, 8, 12),
F("invoice_2025-09.pdf", 47 * Kb, 2025, 9, 15),
F("invoice_2025-10.pdf", 118 * Kb, 2025, 10, 13),
F("invoice_2025-11.pdf", 74 * Kb, 2025, 11, 12),
F("invoice_2025-12.pdf", 156 * Kb, 2025, 12, 16),
F("invoice_2026-01.pdf", 69 * Kb, 2026, 1, 14),
F("invoice_2026-02.pdf", 93 * Kb, 2026, 2, 11),
F("invoice_2026-03.pdf", 212 * Kb, 2026, 3, 13),
F("invoice_2026-04.pdf", 88 * Kb, 2026, 4, 14),
F("invoice_2026-05.pdf", 134 * Kb, 2026, 5, 12),
F("invoice_2026-06.pdf", 101 * Kb, 2026, 6, 15),
F("invoices.xlsx", 184 * Kb, 2026, 6, 22));
Add(@"C:\Users\steve\Documents\Archive",
D("2025", 2026, 1, 6),
F("contracts-2024.zip", 12 * Mb, 2025, 1, 8),
F("legacy-rate-card.xlsx", 36 * Kb, 2024, 11, 19),
F("old invoices.zip", 6100 * Kb, 2024, 12, 30),
F("old-runbooks.7z", 4 * Mb, 2025, 3, 2),
F("tax-2024.pdf", 1900 * Kb, 2025, 4, 9));
Add(@"C:\Users\steve\Documents\Archive\2025",
F("invoices-2025.zip", 9 * Mb, 2026, 1, 6),
F("site-photos-2025.zip", 480 * Mb, 2026, 1, 6),
F("tickets-2025.csv", 820 * Kb, 2026, 1, 6),
F("timesheets-2025.xlsx", 74 * Kb, 2026, 1, 6));
Add(@"C:\Users\steve\Documents\Runbooks",
F("Backup-Verification.md", 14 * Kb, 2026, 5, 21),
F("DR-Test-Checklist.md", 9 * Kb, 2026, 3, 18),
F("Firewall-Failover.docx", 58 * Kb, 2026, 4, 7),
F("index.md", 3 * Kb, 2026, 6, 25),
F("M365-Tenant-Handover.md", 22 * Kb, 2026, 6, 25),
F("New-Client-Onboarding.docx", 84 * Kb, 2026, 2, 24),
F("Offboarding-Checklist.docx", 46 * Kb, 2026, 6, 3),
F("Printer-Deployment.md", 11 * Kb, 2026, 1, 29),
F("Ransomware-First-Hour.md", 18 * Kb, 2026, 6, 16),
F("Server-Patch-Window.md", 16 * Kb, 2026, 6, 20),
F("VPN-Split-Tunnel.docx", 52 * Kb, 2026, 5, 13));
Add(@"C:\Users\steve\Documents\Exports",
F("ad-users-2026-06-30.csv", 340 * Kb, 2026, 6, 30),
F("bitlocker-keys.csv", 26 * Kb, 2026, 6, 12),
F("defender-alerts.json", 1200 * Kb, 2026, 6, 29),
F("killershell-report.html", 780 * Kb, 2026, 6, 30),
F("licenses-fairview.xlsx", 64 * Kb, 2026, 5, 28),
F("patch-compliance.csv", 128 * Kb, 2026, 6, 21),
F("stale-profiles.csv", 44 * Kb, 2026, 6, 8),
F("warranty-expiry.csv", 31 * Kb, 2026, 4, 25));
Add(@"C:\Users\steve\Downloads",
D("old", 2026, 2, 14),
F("agent-setup.exe", 68 * Mb, 2026, 6, 24),
F("driver-pack-latitude-7450.zip", 410 * Mb, 2026, 6, 17),
F("firmware-ex4300-21.4R3.tgz", 640 * Mb, 2026, 5, 29),
F("LAPS.msi", 1400 * Kb, 2026, 3, 12),
F("nmap-7.95-setup.exe", 32 * Mb, 2026, 4, 5),
F("PowerShell-7.5.0-win-x64.msi", 104 * Mb, 2026, 6, 11),
F("rufus-4.6.exe", 1500 * Kb, 2026, 1, 18),
F("veeam-agent.zip", 780 * Mb, 2026, 6, 27),
F("WindowsSensor.exe", 22 * Mb, 2026, 6, 27));
Add(@"C:\Users\steve\Downloads\old",
F("chrome-enterprise.msi", 92 * Mb, 2025, 10, 3),
F("dotnet48-offline.exe", 110 * Mb, 2025, 8, 22),
F("teamviewer-host.msi", 38 * Mb, 2026, 2, 14));
// Dated logs, an .err and a .trace: what the Log highlighting was written for, and
// the folder the canned shell session lists (DemoMode.cs) - the sizes there are
// these sizes, so the terminal and the listing cannot disagree.
Add(@"C:\Users\steve\Logs",
D("archive", 2026, 6, 1),
F("agent-2026-06-27.log", 274432, 2026, 6, 27),
F("agent-2026-06-28.log", 298496, 2026, 6, 28),
F("agent-2026-06-29.log", 311296, 2026, 6, 29),
F("agent-install.trace", 96 * Kb, 2026, 6, 24),
F("backup-nightly-2026-07-01.log", 184320, 2026, 7, 1),
F("deploy-agent-2026-06-30.log", 52736, 2026, 6, 30),
F("killershell.log", 18 * Kb, 2026, 7, 3),
F("patch-window.err", 14208, 2026, 6, 28),
F("winrm-debug.log", 42 * Kb, 2026, 6, 19));
Add(@"C:\Users\steve\Logs\archive",
F("agent-2026-05.zip", 4 * Mb, 2026, 6, 1),
F("agent-2026-06-01.log", 262 * Kb, 2026, 6, 1),
F("backup-2026-05.zip", 9 * Mb, 2026, 6, 1),
F("patch-2026-Q1.zip", 6 * Mb, 2026, 4, 2));
Add(@"C:\Users\steve\Pictures",
D("Screenshots", 2026, 7, 2),
D("Site photos", 2026, 6, 29),
F("headshot.jpg", 2100 * Kb, 2025, 9, 26),
F("logo-killershell.png", 180 * Kb, 2026, 3, 30),
F("rack-fairview.jpg", 4200 * Kb, 2026, 6, 14),
F("wallpaper.jpg", 3600 * Kb, 2026, 1, 3));
Add(@"C:\Users\steve\Pictures\Screenshots",
F("ks-browse.png", 1800 * Kb, 2026, 7, 2),
F("ks-icons.png", 2400 * Kb, 2026, 7, 2),
F("ks-search.png", 1600 * Kb, 2026, 7, 2),
F("ks-terminal.png", 1200 * Kb, 2026, 7, 2),
F("ks-tree.png", 940 * Kb, 2026, 7, 2));
Add(@"C:\Users\steve\Pictures\Site photos",
F("cedarridge-comms-room.jpg", 3800 * Kb, 2026, 6, 26),
F("cedarridge-patch-panel.jpg", 4100 * Kb, 2026, 6, 26),
F("fairview-rack-front.jpg", 3400 * Kb, 2026, 6, 29),
F("fairview-rack-rear.jpg", 3900 * Kb, 2026, 6, 29),
F("fairview-ups.jpg", 2700 * Kb, 2026, 6, 29));
// ── Code ─────────────────────────────────────────────
Add(@"C:\Users\steve\code",
D("homelab", 2026, 1, 9),
D("KillerShell", 2026, 7, 3),
D("killer-scripts", 2026, 6, 2),
F("README.md", 2 * Kb, 2026, 4, 16),
F("workspace.code-workspace", 1 * Kb, 2026, 4, 16));
// The three .ps1 files the fabricated content search already reports live here, with
// the module and the tests a scripts repo of that size would really have.
Add(@"C:\Users\steve\code\killer-scripts",
D("docs", 2026, 5, 9),
D("tests", 2026, 6, 2),
F(".gitignore", 512, 2025, 10, 21),
F("Backup-Nightly.ps1", 12 * Kb, 2026, 5, 14),
F("Deploy-Agent.ps1", 9 * Kb, 2026, 6, 2),
F("Get-StaleProfiles.ps1", 6 * Kb, 2026, 3, 21),
F("Invoke-PatchWindow.ps1", 14 * Kb, 2026, 5, 30),
F("KillerOps.psd1", 3 * Kb, 2026, 6, 2),
F("KillerOps.psm1", 34 * Kb, 2026, 6, 2),
F("New-ClientTenant.ps1", 11 * Kb, 2026, 4, 28),
F("README.md", 6 * Kb, 2026, 6, 2),
F("Remove-OldProfiles.ps1", 5 * Kb, 2026, 2, 17),
F("Sync-BitlockerKeys.ps1", 7 * Kb, 2026, 6, 12),
F("Test-BackupRestore.ps1", 8 * Kb, 2026, 6, 2));
Add(@"C:\Users\steve\code\killer-scripts\tests",
F("Backup-Nightly.Tests.ps1", 5 * Kb, 2026, 5, 14),
F("Deploy-Agent.Tests.ps1", 4 * Kb, 2026, 6, 2),
F("Get-StaleProfiles.Tests.ps1", 3 * Kb, 2026, 3, 21),
F("KillerOps.Tests.ps1", 9 * Kb, 2026, 6, 2));
Add(@"C:\Users\steve\code\killer-scripts\docs",
F("conventions.md", 4 * Kb, 2026, 5, 9),
F("parameters.md", 7 * Kb, 2026, 5, 9),
F("release-notes.md", 5 * Kb, 2026, 6, 2));
Add(@"C:\Users\steve\code\homelab",
D("pihole", 2026, 1, 9),
D("traefik", 2026, 1, 9),
F(".env", 512, 2026, 1, 9),
F("docker-compose.yml", 4 * Kb, 2026, 1, 9),
F("notes.md", 7 * Kb, 2026, 1, 9),
F("README.md", 3 * Kb, 2025, 12, 28),
F("Rotate-Certs.ps1", 8 * Kb, 2026, 1, 9));
Add(@"C:\Users\steve\code\homelab\traefik",
F("dynamic.yml", 3 * Kb, 2026, 1, 9),
F("traefik.yml", 2 * Kb, 2026, 1, 9));
Add(@"C:\Users\steve\code\homelab\pihole",
F("adlists.list", 9 * Kb, 2026, 1, 9),
F("custom.list", 1 * Kb, 2026, 1, 9));
Add(@"C:\Users\steve\code\KillerShell",
D("Models", 2026, 7, 3),
D("Services", 2026, 7, 3),
D("Strings", 2026, 6, 26),
D("Terminal", 2026, 7, 2),
F("CHANGELOG.md", 24 * Kb, 2026, 7, 3),
F("KillerShell.csproj", 6 * Kb, 2026, 7, 1),
F("KillerShell.sln", 2 * Kb, 2026, 4, 4),
F("MainWindow.xaml", 84 * Kb, 2026, 7, 3),
F("README.md", 11 * Kb, 2026, 7, 3));
// ── D: the field drive ───────────────────────────────
Add(@"D:\",
D("Backups", 2026, 7, 1),
D("Exports", 2026, 6, 30),
D("Images", 2026, 5, 22),
F("_index.txt", 3 * Kb, 2026, 7, 1));
Add(@"D:\Backups",
D("archive", 2026, 5, 31),
F("backup-log-2026-07-01.log", 220 * Kb, 2026, 7, 1),
F("cedarridge-fs01-2026-06-30.vbk", 28 * Gb, 2026, 6, 30),
F("fairview-dc01-2026-06-28.vbk", 42 * Gb, 2026, 6, 28),
F("fairview-dc01-2026-07-01.vib", 3 * Gb, 2026, 7, 1),
F("steve-workstation-2026-06-25.vhdx", 96 * Gb, 2026, 6, 25));
Add(@"D:\Backups\archive",
F("cedarridge-fs01-2026-05-31.vbk", 27 * Gb, 2026, 5, 31),
F("fairview-dc01-2026-05-31.vbk", 41 * Gb, 2026, 5, 31));
Add(@"D:\Exports",
F("ad-inventory-2026-06.csv", 410 * Kb, 2026, 6, 30),
F("asset-register.csv", 162 * Kb, 2026, 6, 30),
F("licenses-all-tenants.xlsx", 240 * Kb, 2026, 6, 30),
F("m365-mailboxes.csv", 88 * Kb, 2026, 6, 30),
F("tickets-q2-2026.csv", 1100 * Kb, 2026, 6, 30));
Add(@"D:\Images",
D("drivers", 2026, 5, 22),
F("install-fairview.wim", 12 * Gb, 2026, 5, 22),
F("ubuntu-24.04.2-live-server-amd64.iso", 2 * Gb, 2026, 3, 19),
F("Win10_22H2_x64.iso", 5 * Gb, 2025, 11, 8),
F("Win11_24H2_English_x64.iso", 6 * Gb, 2026, 4, 2),
F("WinPE-KillerShell.iso", 900 * Mb, 2026, 5, 22));
Add(@"D:\Images\drivers",
F("dell-latitude-7450.cab", 780 * Mb, 2026, 5, 22),
F("hp-elitebook-860.cab", 640 * Mb, 2026, 5, 22),
F("lenovo-t14s-gen5.cab", 590 * Mb, 2026, 5, 22));
}
}
}