This PowerShell script changes the working directory to the user's desktop folder.
PS> ./cd-desktop.ps1📂/home/Markus/Desktop (has 3 files and 0 folders)Author: Markus Fleschutz | License: CC0
This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash.
PS> ./cd-crashdumps📂C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files and 0 folders)Author: Markus Fleschutz | License: CC0
This PowerShell script changes the working directory to the user's autostart folder.
PS> ./cd-autostart.ps1📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\StartupAuthor: Markus Fleschutz | License: CC0
This PowerShell script builds a Git repository by supporting the following build systems: autogen, cargo, cmake, configure, Gradle, Imakefile, Makefile, and Meson.
path Specifies the file path to the Git repository (default: current working directory)
PS> ./build-repo.ps1 C:\Repos\ninja⏳ Building 📂ninja by using CMake......✅ Build of 📂ninja succeeded in 47s, results in: 📂C:\Repos\ninja\_resultsAuthor: Markus Fleschutz | License: CC0
This PowerShell script adds firewall rules for the given executable. Administrator rights are required.
PathToExecutables Specifies the path to the executables.
Direction Specifies the direction for the firewall rule. Can be 'Inbound' or 'Outbound'. Default is 'Inbound'.
Profile Specifies the firewall profile. Can be 'Domain', 'Private', or 'Public'. Multiple values can be specified as an array.
PS> ./add-firewall-rules.ps1 -PathToExecutables C:\MyApp\bin -Direction Outbound -Profile PrivateAuthor: Markus Fleschutz | License: CC0
This script fixes the windows CIS Benchmark check 18.1.3: "Ensure 'Allow Online Tips' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 5.33: "Ensure 'Windows Error Reporting Service (WerSvc)' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 5.17: "Ensure 'Print Spooler (Spooler)' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 2.3.9.3: "Ensure 'Microsoft network server: Digitally sign communications (if client agrees)' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 5.38: "Ensure 'Windows PushToInstall Service (PushToInstall)' is set to 'Disabled'."