Skip to content

Instantly share code, notes, and snippets.

@gowon
Created October 3, 2025 07:00
Show Gist options
  • Save gowon/19a16af5172799ba167fd10abf0358e8 to your computer and use it in GitHub Desktop.
Save gowon/19a16af5172799ba167fd10abf0358e8 to your computer and use it in GitHub Desktop.
Chocolatey - Upgrade All Shortcut

Instructions

  1. Use the following as the file path:

    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "choco upgrade all -y; pause"

  2. Enable Run as Administrator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment