This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Backup or restore Windhawk configuration, mods, and registry settings. | |
| .DESCRIPTION | |
| Source: https://github.com/ramensoftware/windhawk/issues/195#issuecomment-2581985324 | |
| This script checks if Windhawk is installed, then prompts the user | |
| to either create a backup or restore from an existing backup. The | |
| backup includes the ModsSource folder, the Engine\Mods folder, and | |
| the Windhawk registry settings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# USAGE: | |
| & $([scriptblock]::Create((iwr -useb 'https://gist.githubusercontent.com/boredwz/d0bbbd334d49db294d85cebf6b5b19ec/raw/powershell_slow_startup_fix.ps1'))) | |
| #> | |
| #requires -Version 5 | |
| # Elevate | |
| iwr -useb 'https://gist.githubusercontent.com/boredwz/f7e908dd8d25cc8345ef2065e093d63c/raw/admin.ps1' | iex | |
| If (!(Admin)) { | |
| Write-Warning 'Administrator rights required.';'Press [Enter] or [Y] to run as Admin...' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Self-elevate to Administrator and preserve arguments. | |
| .DESCRIPTION | |
| Self-elevate to Administrator, preserve arguments, use Windows Terminal console when possible. | |
| .EXAMPLE | |
| # Import |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Get-GithubLatestReleaseURL (PowerShell) | |
| # | |
| # [Author] | |
| # boredwz | https://github.com/boredwz/ | |
| # | |
| # [Usage] | |
| # iex "&{$(iwr -useb 'https://gist.githubusercontent.com/boredwz/e7872773f4c44671ca37fad7ca3912b7/raw/Get-GithubLatestReleaseUrl.ps1')} 'author' 'repo'" | |
| # Or download this file: | |
| # & ".\Get-GitHubLatestReleaseURL" author repo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :: HostsEdit (CMD) | |
| :: | |
| :: [Author] | |
| :: wvzxn | https://github.com/wvzxn/ | |
| :: | |
| :: [Description] | |
| :: Edit strings in the Windows hosts file. | |
| :: /add - Add | |
| :: /del - Remove | |
| :: /q - Disable output (optionally) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Restart <explorer.exe> and restore tabs | |
| .DESCRIPTION | |
| [Author] | |
| boredwz | https://github.com/boredwz | |
| [URL] | |
| Gist | https://gist.github.com/boredwz/1511cb7f81f0c01f3373a3d2ad8a7e9d |