Skip to content

Latest commit

 

History

History
78 lines (53 loc) · 2.11 KB

File metadata and controls

78 lines (53 loc) · 2.11 KB

GitHub
GitHub release (latest SemVer) Last release
GitHub last commit
PSGallery downloads

WinSoftwareUpdate

WinSoftwareUpdate updates supported software on:

  • Windows by validating required Appx dependencies, keeping WinGet current, and running winget upgrade --all
  • macOS by using Homebrew to refresh metadata and upgrade installed formulae and casks

The module now supports -Verbose, -WhatIf, and -Confirm on all mutating commands.

Requirements

Windows

  • Windows 10 or Windows 11
  • Administrator privileges when running Update-RSWinSoftware

macOS

  • Homebrew installed and available on PATH

Install

Install for the current user:

Install-Module -Name WinSoftwareUpdate -Scope CurrentUser -Force

Install for all users:

Install-Module -Name WinSoftwareUpdate -Scope AllUsers -Force

Usage

Run the full update flow on the current platform:

Update-RSWinSoftware

Preview the work without making changes:

Update-RSWinSoftware -WhatIf -Verbose

Inspect the cached platform information used by the module:

Get-rsSystemInfo

Exported commands

  • Update-RSWinSoftware
  • Get-rsSystemInfo
  • Confirm-rsDependency
  • Confirm-rsPowerShell7
  • Confirm-rsWinGet

Help

Command help is stored in the Help directory.

Links