CmdID / PowerShell / Cmdlets / Get
Get-SMServerEvent
Gets the details of events generated in a Server Manager event log. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-BatchSizeSpecifies the batch size, or number of event records, that you want returned as results.-CimSession, -SessionSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-EndTimeSpecifies one or more event end times.-LevelSpecifies one or more event severity levels that determine which events to return.-LogSpecifies one or more Server Manager log channels.-QueryFileSpecifies one or more XML query file names, used for filtering events for a specific role or feature.-QueryFileIdSpecifies one or more query file IDs.-StartTimeSpecifies one or more event start times.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.