{"id":14063726,"url":"https://github.com/PowerShellCrack/WinGetWrapperModule","last_synced_at":"2025-07-29T16:31:28.533Z","repository":{"id":165012516,"uuid":"640046288","full_name":"PowerShellCrack/WinGetWrapperModule","owner":"PowerShellCrack","description":"A wrapper around winget command line utility without using colbalt or third party","archived":false,"fork":false,"pushed_at":"2024-09-17T20:26:14.000Z","size":32,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-07T07:13:15.025Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PowerShellCrack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-05-12T21:07:03.000Z","updated_at":"2024-09-17T20:26:17.000Z","dependencies_parsed_at":"2024-02-07T17:06:03.643Z","dependency_job_id":null,"html_url":"https://github.com/PowerShellCrack/WinGetWrapperModule","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShellCrack%2FWinGetWrapperModule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShellCrack%2FWinGetWrapperModule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShellCrack%2FWinGetWrapperModule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShellCrack%2FWinGetWrapperModule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PowerShellCrack","download_url":"https://codeload.github.com/PowerShellCrack/WinGetWrapperModule/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228028618,"owners_count":17858419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-13T07:03:28.660Z","updated_at":"2024-12-04T01:31:23.524Z","avatar_url":"https://github.com/PowerShellCrack.png","language":"PowerShell","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"readme":"# WinGetWrapperModule\nA winget PoSH wrapper without using colbalt or third party\n\n## DISCLAIMER\n\n - FIRST: have you used [Microsoft.Winget.Client](https://www.powershellgallery.com/packages/Microsoft.WinGet.Client). This is the offical one. \n - SECOND: This module is a CONCEPT idea I had to see if it would work. \n\nThis Sample Code is provided for the purpose of illustration only and is not intended to be used in a production environment.  **THIS SAMPLE CODE AND ANY\nRELATED INFORMATION ARE PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE**.  We grant You a nonexclusive, royalty-free right to use and modify the Sample Code and to\nreproduce and distribute the object code form of the Sample Code, provided that You agree: (i) to not use Our name, logo, or trademarks to market Your\nsoftware product in which the Sample Code is embedded; (ii) to include a valid copyright notice on Your software product in which the Sample Code is embedded;\nand (iii) to indemnify, hold harmless, and defend Us and Our suppliers from and against any claims or lawsuits, including attorneys’ fees, that arise or result\nfrom the use or distribution of the Sample Code.\n\nThis posting is provided \"AS IS\" with no warranties, and confers no rights. \n\n## Prerequisites\n\nWinget. The module will check to see if it has been setup. If is is not, the module will attempt to set it up using the command\n\n```powershell\nAdd-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\n```\nhttps://learn.microsoft.com/en-us/windows/package-manager/winget/#install-winget\n\n## Install\n\n```powershell\nInstall-Module WinGetWrapper -Force\n```\n\n## Cmdlets\n\n- **Get-WinGetWrapperList** :Gets list  of apps from winget\n- **Get-WinGetWrapperUpgradeList** :  Gets list of apps upgradeble\n- **Test-WinGetWrapperIsUpgradeable** : Checks if Winget app has and available update\n- **Start-WinGetWrapperAppUpdate** : Attempt to update apps using Winget upgrade process\n- **Start-WinGetWrapperAllUpdates** : Attempt to update all apps using Winget upgrade process\n\n## Scripts\n\n- **WinGetWrapperScript.ps1** :A simple script to install updates\n- **WinGetWrapperSingleScriptFile.ps1** :A script that contains all functions (no module import) for those that want that. \n\n\u003e WARNING!! The single script file not be a updated as the module. \n\n## Example #1\n\n```powershell\nGet-WinGetWrapperList -Details | Select -First 1\n```\n```text\nVersion         : 10.0.22621.2\nPublisher       : Microsoft Corporation\nPublisherUrl    : https://www.microsoft.com/\nDescription     : The Windows SDK (10.0.22621.1) for Windows 11 provides the latest headers, libraries, metadata, and tools for building Windows apps.\nHomepage        : https://developer.microsoft.com/windows/downloads/windows-sdk/\nLicense         : Proprietary\nPrivacyUrl      : https://docs.microsoft.com/en-us/windows/privacy/\nCopyright       : Copyright (c) Microsoft Corporation. All rights reserved.\nInstallerType   : exe\nInstallerUrl    : https://download.microsoft.com/download/7/9/6/7962e9ce-cd69-4574-978c-1202654bd729/windowssdk/winsdksetup.exe\nInstallSource   : winget\nCurrentVersion  : 10.0.22000.832\nId              : Microsoft.WindowsSDK\nName            : Windows Software Development Kit - Windows 10.0.22000.832\nInstallerSHA256 : 73fe3cc0e50d946d0c0a83a1424111e60dee23f0803e305a8974a963b58290c0\n\n```\n## Example #2\n```powershell\nGet-WinGetWrapperList | Test-WinGetWrapperIsUpgradeable\n```\n```text\nMicrosoft.Edge                                        False\nMicrosoft Edge Update                                 False\nMicrosoft.EdgeWebView2Runtime                         False\nMicrosoft.549981C3F5F10_8wekyb3d8bbwe                 False\nMicrosoft.AV1VideoExtension_8wekyb3d8bbwe             False\nMicrosoft.BingNews_8wekyb3d8bbwe                      False\nMicrosoft.BingWeather_8wekyb3d8bbwe                   False\nMicrosoft.Teams                                       False\nMicrosoft.WindowsSDK                                   True\nMicrosoft.VCRedist.2015+.x64                           True\nMicrosoft.PowerBI                                     False\n{dcdaa2fd-eaac-4ab0-9ece-f3df127a6c45}.sdb            False\nJabra.Direct                                          False\n{fd2b1599-0451-4033-8fdf-545b2e83cc93}                False\n...\n```\n## Example #3\n\n```powershell\nGet-WinGetWrapperUpgradeList\n```\n```text\nName      : Microsoft Visual C++ 2015-2022 Redistributable (x86)\nId        : Microsoft.VCRedist.2015+.x64\nVersion   : 14.32.31326.0\nAvailable : 14.34.31938.0\nSource    : winget\n\nName      : Windows Software Development Kit - Windows 10.0.22000\nId        : Microsoft.WindowsSDK\nVersion   : 10.0.22000.832\nAvailable : 10.0.22621.2\nSource    : winget\n```\n\n## Example #4\n```powershell\nStart-WinGetWrapperAppUpdate \n```\n```text\nName       ExitCode Status\n----       -------- ------\n4                 0 Successfully installed\n```\n\n\n## Example #5\n```powershell\nStart-WinGetWrapperAppUpdate -Id 'Microsoft.VCRedist.2015+.x64'\n```\n```text\nName                                                   Id                              ExitCode Status\n----                                                   --                              -------- ------\nMicrosoft Visual C++ 2015-2022 Redistributable (x86) … Microsoft.VCRedist.2015+.x64 -1978335188 Successfully installed..1 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPowerShellCrack%2FWinGetWrapperModule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPowerShellCrack%2FWinGetWrapperModule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPowerShellCrack%2FWinGetWrapperModule/lists"}