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

[BUG] ConvertFrom-EventLogRecord : Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: 'ProductSkuId' Key #49

Open
RTT46410 opened this issue Aug 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@RTT46410
Copy link

RTT46410 commented Aug 8, 2024

ConvertFrom-EventLogRecord : Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: 'ProductSkuId' Key
being added: 'ProductSkuId'"
At C:\Program Files\WindowsPowerShell\Modules\PoShEvents\0.4.1\Public\Get-KMSHostEvent.ps1:60 char:93

  • ... eterSplat | ConvertFrom-EventLogRecord -EventRecordType 'KMSHostEvent ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [ConvertFrom-EventLogRecord], MethodInvocationException
    • FullyQualifiedErrorId : ArgumentException,ConvertFrom-EventLogRecord

To Reproduce
Get-KMSHostEvent -ComputerName xxxx -MaxEvents 30 -Debug -Verbose

PowerShell Environment (please complete the following information):

  • OS: [e.g. Windows 10, Ubuntu 18.04]
  • Edition [e.g. desktop,core]
  • Version [e.g. 5.1,6,6.1]

Windows 2012 R2 Standard
Powershell

Major Minor Build Revision


5 1 14409 2001

Note...Get-ServiceEvent works without error

@RTT46410 RTT46410 added the bug Something isn't working label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants