https://github.com/puff-dayo/setsuna-scripts
Scripts for automation tasks and daily utilities.
https://github.com/puff-dayo/setsuna-scripts
powershell powershell-script script
Last synced: 7 months ago
JSON representation
Scripts for automation tasks and daily utilities.
- Host: GitHub
- URL: https://github.com/puff-dayo/setsuna-scripts
- Owner: puff-dayo
- Created: 2024-03-02T10:26:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T14:54:16.000Z (almost 2 years ago)
- Last Synced: 2025-05-17T08:08:39.852Z (9 months ago)
- Topics: powershell, powershell-script, script
- Language: PowerShell
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Setsuna-Scripts
A personal collection of scripts for automation tasks.
**> BatteryModeAutoShutdown.ps1**
Monitors the power status of the system and automatically shuts it down if it remains on battery power for a specified duration, also provides options for logging events to a file or displaying them on-screen, and can execute user-defined scripts when mode switched and before shutdown.
**> BatteryBeepAndTTSWarning.ps1**
Plays beeps and uses Windows built-in TTS to warn that the power mode has switched to battery.
**> ImportFlypy.ps1**
Import Flypy Shuangpin into Microsoft Input Method.
## Tested Environment
```
PS C:\Windows\system32> $PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
5 1 22000 2003
PS C:\Windows\system32> Get-ComputerInfo | Select-Object OsName, OsVersion, OsArchitecture
OsName OsVersion OsArchitecture
------ --------- --------------
Windows 11 Home 10.0.22000 64-bit
```