5步搞定 Jackett 部署:从裸机运行到生产加固
2026/9/19 13:23:04
MyAppEvent.psm1文件。function Get-AppEvents { <# .SYNOPSIS Get-AppEvents retrieves the newest 100 events from the Application event log, groups and sorts them by InstanceID and then displays only top 5 events that have occured the most. .DESCRIPTION See the synopsis section. .EXAMPLE To run the function, simply invoke it: PS> Get-AppEvents #> Get-EventLog –LogName Application –Newest 100|Group-Object - Property InstanceId|Sort-Object –Descending -Property