
Estou tentando ler um arquivo de evento evtx gerado pelo wusa, mas Get-WinEvent está apenas gerando um erro.
PS> Get-WinEvent -path .\install.evtx
Get-WinEvent : The request is not supported
At line:1 char:1
+ Get-WinEvent -path .\install.evtx
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-WinEvent], EventLogException
+ FullyQualifiedErrorId : System.Diagnostics.Eventing.Reader.EventLogException,Microsoft.PowerShell.Commands.GetWi
nEventCommand
O arquivo abre bem no Visualizador de eventos.
Minha única suposição é que não tenho o provedor correto instalado.
Esta é a versão do PowerShell que estou usando
Name Value
---- -----
PSVersion 5.1.17134.165
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17134.165
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Estes são os únicos módulos que possuo que correspondem ao Microsoft.Powershell.*
Microsoft.PowerShell.Management Microsoft.PowerShell.PSReadLine Microsoft.PowerShell.Utility
Alguém poderia ajudar a resolver isso?