From 357385a6522a5d434717249b5e05d97529034814 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Sat, 31 Jan 2026 18:49:37 -0500 Subject: [PATCH] Update docs/# samy.functions.ps1 --- docs/# samy.functions.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/# samy.functions.ps1 b/docs/# samy.functions.ps1 index 6533eab..0d5d354 100644 --- a/docs/# samy.functions.ps1 +++ b/docs/# samy.functions.ps1 @@ -48,7 +48,7 @@ Ensures SAMY can install/update PowerShell modules and providers without interac - Optionally marks `PSGallery` as trusted to prevent prompts. **Why it matters** -Many PowerShell module installs trigger interactive prompts, especially on fresh machines. This function makes module installation reliable for SAMY’s automation. +Many PowerShell module installs trigger interactive prompts, especially on fresh machines. This function makes module installation reliable for SAMY's automation. **Common failure modes** - No internet / proxy blocks PSGallery or NuGet endpoints. @@ -113,8 +113,8 @@ Many Windows customizations are stored per-user. To make onboarding consistent, **Important safety notes** - Loading/unloading hives is sensitive: - - A loaded hive can’t always be unloaded if something else is holding a handle. - - The function tracks whether it loaded the hive (`$didLoad`) to avoid unloading someone else’s mount. + - A loaded hive can't always be unloaded if something else is holding a handle. + - The function tracks whether it loaded the hive (`$didLoad`) to avoid unloading someone else's mount. - Profile iteration excludes non-standard SIDs by regex filter. - Some profiles may not have `NTUSER.DAT` (system profiles, corrupt profiles, etc.). Those are skipped safely. @@ -124,7 +124,7 @@ Uses `Write-LogHybrid` to record default hive load/unload outcomes and per-setti **Modification notes** - If you add more settings, prefer calling this helper rather than duplicating hive logic. - If you need to write to HKLM machine-wide instead, do that outside this helper. -- If you ever see “unload failed”, it’s usually because something still holds a handle to the loaded hive. +- If you ever see “unload failed”, it's usually because something still holds a handle to the loaded hive. --- @@ -227,7 +227,7 @@ All functions log via `Write-LogHybrid` using categories like: - `SVSApps` - `UI` -When `-LogToEvent` is enabled, events are also written to the configured Windows Event Log (e.g., `SVSMSP Events`) using the project’s Event Log binding logic. +When `-LogToEvent` is enabled, events are also written to the configured Windows Event Log (e.g., `SVSMSP Events`) using the project's Event Log binding logic. ---