MohandL3G 0ad574a552 Add utility PowerShell scripts
Add four utility PowerShell scripts:

- ps1/BatchRenameVideosHandBrake.ps1: Finds encoded files named with "(1)" suffix, deletes the original source file and renames the encoded file to the original name. Useful for replacing original videos with encoded outputs.

- ps1/HATSUpdater.ps1: Automates copying a HATS-* folder from Desktop to a drive labeled "SWITCH SD", performs cleanup (removes switch\DBI_RU and HATS-*.txt) and copies contents to the SD root. Includes basic checks for source and target presence.

- ps1/Updater.ps1: Runs winget upgrade --all, writes a log file, and posts the result to a Discord webhook before cleaning up the log. Note: this script currently embeds a webhook URL in the file; consider moving secrets to secure storage.

- ps1/restic_backup.ps1: Maps a network share, runs a restic backup to a local repository, and then unmaps the share. Note: this script includes plaintext credentials; consider using environment variables or a credential store to avoid committing secrets.
2026-02-13 01:09:47 +02:00
2026-02-13 01:09:47 +02:00
2026-02-13 01:06:45 +02:00

Powershell-Scripts

These are my Powershell Scripts

Description
These are my Powershell Scripts
Readme 27 KiB
Languages
PowerShell 100%