Skip to content

Instantly share code, notes, and snippets.

@marzme
marzme / Convert-WingetTextToObjectBackup.ps1
Last active July 9, 2024 16:34
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