Skip to content

Print Chocolatey and PSGallery updates in your PowerShell session

License

Notifications You must be signed in to change notification settings

JanDeDobbeleer/Get-PackageUpdates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get-PackageUpdates

Print Chocolatey and PSGallery updates in your PowerShell session

Installation

Install the module from the PowerShell Gallery:

Install-Module Get-PackageUpdates -Scope CurrentUser

Add the following lines to your $profile:

Import-Module Get-PackageUpdates
Write-PackageUpdates

Create a shortcut under shell:startup that includes the following line:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -WindowStyle Hidden -Command "Save-PackageUpdates"

This will start a PS session at startup (logon) which will get and save the available updates. That way it can be printed when you start a new session once it is available.

Inspired by and partially stolen from here

About

Print Chocolatey and PSGallery updates in your PowerShell session

Resources

License

Stars

Watchers

Forks

Packages

No packages published