Skip to content

Instantly share code, notes, and snippets.

@desbest
desbest / Reset-WindowsUpdate.ps1
Last active May 5, 2025 14:06
Reset Windows Update Client Settings Script
<#
.SYNOPSIS
Reset-WindowsUpdate.ps1 - Resets the Windows Update components
.DESCRIPTION
This script will reset all of the Windows Updates components to DEFAULT SETTINGS.
.OUTPUTS
Results are printed to the console. Future releases will support outputting to a log file.
@MVKozlov
MVKozlov / Show-MessageBox.ps1
Last active June 1, 2023 14:15
Powershell: Show GUI Messagebox and wait for user input or timeout
<#
.SYNOPSIS
Show GUI Messagebox
.DESCRIPTION
Show GUI Messagebox and wait for user input or timeout
.PARAMETER Message
Message to show
.PARAMETER Title
Messagebox title
.PARAMETER Buttons
@ninmonkey
ninmonkey / A cheat sheet - VS Code, Wt, etc config file locations.md
Last active July 13, 2022 08:19
cheat sheet - VS Code, Wt, etc config files

Windows 10

App Note Path
VS Code Global config $Env:APPDATA\Code\User\Settings.json
VS Code - Insiders Global config $Env:APPDATA\Code - Insiders\User\Settings.json
VS Code Extensions Dir $env:UserProfile\.vscode\extensions
Wt Preview see Get-WindowsTerminalProfile.ps1 $env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe\LocalState\settings.json