Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find package providers (msi,msu,Programs) #205

Open
crimsonread opened this issue Nov 11, 2022 · 4 comments
Open

Unable to find package providers (msi,msu,Programs) #205

crimsonread opened this issue Nov 11, 2022 · 4 comments

Comments

@crimsonread
Copy link

Hi,

When I run Get-KbInstalledSoftware on my machine, I encountered below warning message.

Get-KbInstalledSoftware -ComputerName localhost
WARNING: [13:57:29][Invoke-KbCommand] Failure on localhost | Unable to find package providers (msi,msu,Programs).

@potatoqualitee
Copy link
Owner

Hey crim, please execute $error[0] | select * and paste the results here. if that is not useful, try $error[1] until you see a helpful error

@crimsonread
Copy link
Author

Hey crim, please execute $error[0] | select * and paste the results here. if that is not useful, try $error[1] until you see a helpful error

Hi, Please find below error message.

PS> $Error[0] | select *

PSMessageDetails :
Exception : System.Exception: Unable to find package providers (msi,msu,Programs).
---> System.Exception: Unable to find package providers (msi,msu,Programs)
.
--- End of inner exception stack trace ---
TargetObject :
CategoryInfo : InvalidArgument: (:) [Write-Error], Exception
FullyQualifiedErrorId : kbupdate_Invoke-KbCommand,Stop-PSFFunction
ErrorDetails : Unable to find package providers (msi,msu,Programs).
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at Stop-PSFFunction, C:\Program Files\PowerShell\Modules\PSFramework\1.7.24
9\PSFramework.psm1: line 5432
at Invoke-KbCommand, : line 135
at Get-KbInstalledSoftware, : line 74
at , : line 1
PipelineIterationInfo : {0, 1}

@DevClate
Copy link

DevClate commented Jan 2, 2023

I'm receiving the same errors on the same lines as crimsonread using PowerShell 7.3.1, but if I use PowerShell 5.1 it works.

@Gary0201
Copy link

Has KbUpdate been abandoned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants