Skip to content

Instantly share code, notes, and snippets.

View redlinejoes's full-sized avatar
💭
I may be slow to respond.

Joseph Young redlinejoes

💭
I may be slow to respond.
View GitHub Profile
@redlinejoes
redlinejoes / ConvertFrom-WingetStdout.ps1
Created October 3, 2022 17:08 — forked from sba923/ConvertFrom-WingetStdout.ps1
Convert winget output to PowerShell objects
#requires -version 7
# This crude script converts the output of the winget.exe executable into an array of PowerShell objects
# usage: winget <args> | ConvertFrom-WingetStdout.ps1
#
# examples of application:
#
# 1. Upgrade everything except some apps (e.g. managed by your employer's IT,
# or you know winget doesn't handle them properly yet)
#