PoShEvents
PoShEvents copied to clipboard
[BUG] ConvertFrom-EventLogRecord : Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: 'ProductSkuId' Key
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