Skip to content

Instantly share code, notes, and snippets.

@marzme
marzme / Convert-WingetTextToObjectBackup.ps1
Last active March 15, 2026 19:28
A PowerShell function that converts the text output from winget into PowerShell objects.
Function Convert-WingetTextToObject {
<#
.SYNOPSIS
Converts the text output from winget commands into custom PowerShell objects.
.DESCRIPTION
Converts the text output from winget commands into custom PowerShell objects.
.PARAMETER WingetRawText