JanDeDobbeleer / Get-PackageUpdates

Print Chocolatey and PSGallery updates in your PowerShell session

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:PowerShell 100.0%