Event Log Scripts
The Event Log Scripts module contains scripts that you can use with PowerShell Universal to retrieve information from the Windows Event Log.
Commands
Get-PSUEventLog
This command retrieves information from the Windows Event Log.
Get-PSUEventLog -LogName 'Application' -MaxEvents 10
Installation Options
Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet. More info
PS > Install-PSResource Windows.EventLog.Scripts
Install within the PowerShell Universal v5 admin console. More Info
Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies.
Download the raw nupkg file