Nick Ephraims

Results 8 comments of Nick Ephraims

I can reproduce this on several machines that are currently on 1.5 or 1.6 and not updating to 1.7

I've also verified the same behaviour on a machine with a very old DesktopAppInstaller that didn't even include winget and it reports that winget is healthy when it's not even...

Hi @denelon , Every time I run it on a new machine I am using this to pull the latest: Install-PackageProvider NuGet -Force Set-PSRepository PSGallery -InstallationPolicy Trusted Install-Module Microsoft.Winget.Client -Confirm:$False...

PS C:\WINDOWS\system32> Get-Command -Module Microsoft.WinGet.Client CommandType Name Version Source ----------- ---- ------- ------ Cmdlet Add-WinGetSource 1.7.10661 Microsoft.Winget.Client Cmdlet Assert-WinGetPackageManager 1.7.10661 Microsoft.Winget.Client Cmdlet Disable-WinGetSetting 1.7.10661 Microsoft.Winget.Client Cmdlet Enable-WinGetSetting 1.7.10661 Microsoft.Winget.Client Cmdlet...

PS C:\Users\nephraim> winget --info Windows Package Manager v1.5.2201 Copyright (c) Microsoft Corporation. All rights reserved. Windows: Windows.Desktop v10.0.19045.4046 System Architecture: X64 Package: Microsoft.DesktopAppInstaller v1.20.2201.0 Winget Directories ----------------------------------------------------------------------------------------------------------------------- Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag… User...

PS C:\WINDOWS\system32> Repair-WingetPackageManager -Force -Latest -Verbose VERBOSE: Creating MTA thread VERBOSE: WinGet is in a good state. PS C:\WINDOWS\system32>

> $env:PSModulePath -split ';' > > C:\Users\Administrator\Documents\WindowsPowerShell\Modules C:\Program Files\WindowsPowerShell\Modules C:\Windows\system32\WindowsPowerShell\v1.0\Modules PS C:\WINDOWS\system32> $env:PSModulePath -split ';' C:\WINDOWS\system32\config\systemprofile\Documents\WindowsPowerShell\Modules C:\Program Files\WindowsPowerShell\Modules C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules C:\Program Files (x86)\Sharegate\ C:\Program Files\MicrosoftManagedDesktop\Powershell C:\Program Files\Citrix\Telemetry Service\ PS C:\WINDOWS\system32>

My use case is installing / repairing Winget via an Intune script. Currently there isn't a good way to ensure the Desktop App Installer is getting updated properly so I...