(以过去正常的进程列表为基础)
PS C:\Users\norman> Get-process | export-clixml c:\good.xml
PS C:\Users\norman> Compare-object -Referenceobject (import-clixml c:\good.xml) -differenceobject (get-process) -Property Processname
2022-02-17 12:07:24
PS C:\Users\norman> Get-process | export-clixml c:\good.xml
PS C:\Users\norman> Compare-object -Referenceobject (import-clixml c:\good.xml) -differenceobject (get-process) -Property Processname