This PowerShell script switches a Shelly1 device in the local network.
host Specifies either the hostname or IP address of the Shelly1 device
turnMode Specifies either 'on', 'off', or 'toggle'
timer Specifies the timer in seconds (0 = infinite)
PS> ./switch-shelly1 192.168.100.100 toggle 10Author: Markus Fleschutz | License: CC0
This PowerShell script switches to the given branch in a Git repository and also updates the submodules.
branchName Specifies the Git branch name to switch to
pathToRepo Specifies the file path to the local Git repository
PS> ./switch-branch main⏳ (1/6) Searching for Git executable... git version 2.43.0.windows.1⏳ (2/6) Checking local repository... C:\Repos\rust⏳ (3/6) Fetching remote updates...⏳ (4/6) Switching to 'main' branch...⏳ (5/6) Pulling remote updates...⏳ (6/6) Updating submodules...✅ Switched repo 📂rust to 'main' branch in 22s.Author: Markus Fleschutz | License: CC0
This PowerShell script suspends the local computer immediately.
PS> ./suspendAuthor: Markus Fleschutz | License: CC0
This PowerShell script speaks the given text with a Ukrainian text-to-speech (TTS) voice.
text Specifies the Ukranian text to speak
PS> ./speak-ukrainian.ps1 "Привіт"Author: Markus Fleschutz | License: CC0
This PowerShell script speaks the given text with a Turkish text-to-speech (TTS) voice.
text Specifies the Turkish text to speak
PS> ./speak-turkish.ps1 MerhabaAuthor: Markus Fleschutz | License: CC0
This PowerShell script speaks the given text with a Thai text-to-speech (TTS) voice.
text Specifies the Thai text to speak
PS> ./speak-thai.ps1 "สวัสดี"Author: Markus Fleschutz | License: CC0
This PowerShell script speaks the given text by the default text-to-speech (TTS) voice.
text Specifies the text to read
PS> ./speak-text.ps1 HiAuthor: Markus Fleschutz | License: CC0
This PowerShell script performs a text-to-speech (TTS) test.
PS> ./speak-test.ps1📣 Let's begin with the default speed rate of 0 at the default volume of 100%....Author: Markus Fleschutz | License: CC0
This PowerShell script speaks the given text with a Swedish text-to-speech (TTS) voice.
text Specifies the Swedish text to speak
PS> ./speak-swedish.ps1 HallåAuthor: Markus Fleschutz | License: CC0
This PowerShell script speaks the given text with a Spanish text-to-speech (TTS) voice.
text Specifies the Spanish text to speak
PS> ./speak-spanish.ps1 HolaAuthor: Markus Fleschutz | License: CC0