Skip to content
/ up.cmd Public

A Windows script for updating a bunch of things with one command

License

Notifications You must be signed in to change notification settings

lmnoop/up.cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

up.cmd

A Windows script for updating a bunch of things with one command. Engineered explicitly for home use and COMES WITH ABSOLUTELY NO WARRANTY! 🎉

Currently supports

This is also the execution order so that winget won't steal choco's thunder, TNUC does its thing in the background while you got bored watching the app packages roll in and potential reboot prompts from Windows Update come in last.

Features

  • A goddamn exclude list for winget.
    • For when winget upgrade --all is just too dangerous/stupid
    • You gotta admit that's pretty good

Requirements

  • sudo (scoop install sudo)
    • Optional, if you want to start a dedicated Administrator terminal every time, like a chump. The rest are non-negotiable.
  • grep
  • head, tail and sort
  • PSWindowsUpdate Module for Windows Update
    • Install-Module PSWindowsUpdate

Make sure you get this stuff installed and along your PATH as we're gonna be working on first name basis.

How to

You go up and if you did everything correctly, it works.

But

You mentioned a winget exclude list?

Yeah. You put a file called winget-exclude.lst in your home directory, or %USERPROFILE%. It's a text file of winget IDs, one per line, that you don't want up.cmd to tell winget to update.

TODO

  • Kinda feel like I should support Scoop since I'm using it.
  • Configurability
    • Preserve Desktop .lnk garbage, anyone?
  • Run modes for
    • Update checking
    • Unattended updating
    • Interactive mode
    • Current state is a mish-mash of all of the above

About

A Windows script for updating a bunch of things with one command

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published