Open crimsonread opened 1 year ago
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
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,
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.
Has KbUpdate been abandoned?
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).