From 5db98af5343b548d26b144a1a0ae00aa5275ed08 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Nov 2025 01:28:49 +0000 Subject: [PATCH 1/2] Initial plan From 873a5b3a9a026eb5552bbd1ed8ed57ffe0575402 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Nov 2025 01:32:23 +0000 Subject: [PATCH 2/2] Fix markdown heading formatting and typo in documentation Co-authored-by: AprilDeFeu <36605389+AprilDeFeu@users.noreply.github.com> --- .github/PR_PREFERENCES.md | 4 ++-- PowerShell/system-administration/maintenance/README.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/PR_PREFERENCES.md b/.github/PR_PREFERENCES.md index 606b1c7..31a4e16 100644 --- a/.github/PR_PREFERENCES.md +++ b/.github/PR_PREFERENCES.md @@ -4,7 +4,7 @@ This repository prefers plain Git for local operations and the GitHub web UI for creating pull requests. This note documents that preference so contributors and automation respect the chosen workflow. -Recommendations +## Recommendations - Use git to create branches, stage, commit, and push. Example: @@ -33,7 +33,7 @@ git push -u origin fix/my-change - If you integrate other tools (for example GitKraken or GitHub Apps), only do so after confirming credentials and access are explicitly authorized. -Why this preference +## Why this preference - Plain `git` is universally available and works in CI and local shells without adding additional tooling requirements. diff --git a/PowerShell/system-administration/maintenance/README.md b/PowerShell/system-administration/maintenance/README.md index 2f50113..de3e92a 100644 --- a/PowerShell/system-administration/maintenance/README.md +++ b/PowerShell/system-administration/maintenance/README.md @@ -5,23 +5,23 @@ This folder contains PowerShell scripts focused on system maintenance tasks. Typical responsibilities include package cleanup, service health checks, temporary-file housekeeping, and other routine maintenance utilities. -Usage and placement +## Usage and placement - Place small, single-purpose maintenance scripts here. - For complex tools with multiple files, include a top-level README and a subfolder with implementation files. -Naming and contribution +## Naming and contribution - Use descriptive kebab-case names, e.g. `clean-temp-folders.ps1` or `check-service-health.ps1`. - Add header documentation (comment-based help) and examples for each script. - Include `-WhatIf` support for potentially destructive operations. -Examples +## Examples - `clean-temp-folders.ps1` — remove old files from temporary directories -- `rotate-logs.ps1` — rotate and compress rotating logs +- `rotate-logs.ps1` — rotate and compress log files Thank you for contributing maintenance scripts — please follow the repository's contribution guidelines in the main `CONTRIBUTING.md`.