Skip to content

Instantly share code, notes, and snippets.

@JoeyNice
JoeyNice / Get-Updates.ps1
Last active October 14, 2024 01:12 — forked from nouseforname/Get-Updates.ps1
Powershell filter winget upgrade
# Add IDs to skip the update
$skipUpdate = @(
'Microsoft.DotNet.SDK.6',
'Microsoft.WindowsSDK',
'Tonec.InternetDownloadManager'
)
# Define a class to represent software information
class Software {
[string]$Name