This PowerShell script installs CrystalDiskInfo from the Microsoft Store.
PS> ./install-crystal-disk-info.ps1Author: Markus Fleschutz | License: CC0
This PowerShell script installs Chocolatey onto the local computer (needs admin rights).
PS> ./install-chocolatey.ps1Author: Markus Fleschutz | License: CC0
This PowerShell script installs Audacity.
PS> ./install-audacity.ps1Author: Markus Fleschutz | License: CC0
This PowerShell script hibernates the local computer immediately.
PS> ./hibernate.ps1It's 5:04 PM, going to sleep now... 😴💤Author: Markus Fleschutz | License: CC0
This PowerShell script is a sample script writing "Hello World" to the console.
PS> ./hello-world.ps1Hello WorldAuthor: Markus Fleschutz | License: CC0
This PowerShell script fetches remote updates into a local Git repository (including submodules).
path Specifies the file path to the local Git repository (default is working directory).
PS> ./fetch-repo.ps1⏳ (1/3) Searching for Git executable... git version 2.41.0.windows.3⏳ (2/3) Checking local repository... C:\Repos\rust⏳ (3/3) Fetching updates (including submodules)...✅ Updates fetched into 📂rust repo in 2s.Author: Markus Fleschutz | License: CC0
This PowerShell script enables IPv6 on all network interfaces of the local computer.
PS> ./enable-ipv6.ps1✔ IPv6 is enabled now.Author: Markus Fleschutz | License: CC0
This PowerShell script enables the writing of crash dumps.
PS> ./enable-crash-dumps.ps1Author: Markus Fleschutz | License: CC0
This PowerShell script disables IPv6 on all network interfaces of the local computer (requires administrator rights).
PS> ./disable-ipv6.ps1✔ IPv6 is disabled now.Author: Markus Fleschutz | License: CC0
This PowerShell script counts the number of lines in text files (.txt/.md/.c/.h/.cpp/.hpp/.java/.py/.ps1/.bat) within a directory tree.
pathToDirTree Specifies the path to the directory tree.
PS> ./count-lines.ps1 C:\Repos\cmake✅ Found 639921 lines in 11411 text files within 📂cmake in 34 sec.Author: Markus Fleschutz | License: CC0