Powershell Get-winevent "요청이 지원되지 않습니다" 오류

Powershell Get-winevent "요청이 지원되지 않습니다" 오류

wusa에서 생성된 evtx 이벤트 파일을 읽으려고 하는데 Get-WinEvent에서 오류가 발생합니다.

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

파일은 이벤트 뷰어에서 잘 열립니다.

내 유일한 가정은 올바른 공급자가 설치되어 있지 않다는 것입니다.

이것은 내가 사용하는 Powershell 버전입니다.

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

이것은 Microsoft.Powershell과 일치하는 유일한 모듈입니다.*

Microsoft.PowerShell.Management  Microsoft.PowerShell.PSReadLine  Microsoft.PowerShell.Utility

누구든지 이 문제를 해결하는 데 도움을 줄 수 있습니까?

관련 정보