https://github.com/jandedobbeleer/get-packageupdates
Print Chocolatey and PSGallery updates in your PowerShell session
https://github.com/jandedobbeleer/get-packageupdates
Last synced: 6 months ago
JSON representation
Print Chocolatey and PSGallery updates in your PowerShell session
- Host: GitHub
- URL: https://github.com/jandedobbeleer/get-packageupdates
- Owner: JanDeDobbeleer
- License: mit
- Created: 2017-02-27T19:00:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-01T20:04:55.000Z (over 8 years ago)
- Last Synced: 2025-02-10T08:32:49.694Z (8 months ago)
- Language: PowerShell
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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-PackageUpdatesCreate 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](http://jdhitsolutions.com/blog/powershell/5441/check-for-module-updates/)