Skip to content

Repository files navigation

Maintenance Scripts

Personal Windows maintenance scripts — minimal, traceable, Turkish and English.

Kişisel Windows bakım betikleri — sade, izlenebilir, Türkçe ve İngilizce.

License Validate Secret Scan Quality Hygiene Link Check Text Audit GitLab CI

Language / Dil: English · Türkçe


English

What is this?

Each script does one job: it runs commands in order and writes output both to the console and to its own log folder. No menus, no options, no surprises.

Scripts

Script Does
Repair-Windows.bat DISM + SFC + WinSxS maintenance (includes ResetBase)
Reset-Windows-Update.bat Reset Windows Update components
IPConfig-FlushDNS.bat Flush DNS cache
WinGet-Upgrade.bat Upgrade all packages
Bug-Report.ps1 Event log HTML report (-Period Daily, Weekly, Monthly)

Usage

  1. Run Scripts/<name>.bat as administrator (right-click → Run as administrator); only Repair-Windows.bat and Reset-Windows-Update.bat require it.
  2. Each script logs under Logs/<Script-Name>/; every folder keeps an index.txt run ledger.
  3. Bug-Report.ps1 runs on a schedule: powershell.exe -NoProfile -ExecutionPolicy Bypass -File "Scripts\Bug-Report.ps1" -Period Daily

Rules

  • Runtime artifacts are excluded from version control (see .gitignore); scripts create and use their Logs/ folder at runtime.
  • Console and log output are identical.
  • A mojibake/encoding gate (Scripts/Check-Mojibake.ps1) blocks double-encoded text and invalid UTF-8 in files, commits, and release text; run git config core.hooksPath .githooks to arm the bundled local hooks.
  • See CONTRIBUTING.md for contributions, SUPPORT.md for help, PRIVACY.md for data handling, and SECURITY.md for security.

Türkçe

Nedir?

Her betik tek iş yapar: komutları sırayla çalıştırır, çıktıyı hem ekrana hem de kendi günlük klasörüne yazar. Menü yok, seçenek yok, sürpriz yok.

Betikler

Betik İş
Repair-Windows.bat DISM + SFC + WinSxS bakımı (ResetBase dahil)
Reset-Windows-Update.bat Windows Update bileşenlerini sıfırlama
IPConfig-FlushDNS.bat DNS önbelleğini temizleme
WinGet-Upgrade.bat Tüm paketleri yükseltme
Bug-Report.ps1 Olay günlüğü HTML raporu (-Period Daily, Weekly, Monthly)

Kullanım

  1. Scripts/ klasöründeki betiği yönetici olarak çalıştırın (sağ tık → Yönetici olarak çalıştır); bunu yalnızca Repair-Windows.bat ve Reset-Windows-Update.bat gerektirir.
  2. Her betik günlüğünü Logs/<Betik-Adı>/ altına yazar; her klasörde index.txt koşu dökümünü tutar.
  3. Bug-Report.ps1 Zamanlayıcı ile koşar: powershell.exe -NoProfile -ExecutionPolicy Bypass -File "Scripts\Bug-Report.ps1" -Period Daily

Kurallar

  • Çalışma zamanı yapıları sürüm kontrolünün dışındadır (ayrıntı .gitignore); betikler Logs/ klasörünü çalışırken kendileri açar ve kullanır.
  • Çıktı hem ekranda hem günlükte birebir aynıdır.
  • Katkı için CONTRIBUTING.md, destek için SUPPORT.md, gizlilik için PRIVACY.md ve güvenlik için SECURITY.md dosyasına bakın.

About

Personal Windows maintenance scripts

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages