CmdID / PowerShell / Cmdlets / New
New-MpPerformanceRecording
This cmdlet collects a performance recording of Microsoft Defender Antivirus scans. Windows Server PowerShell reference
From the Windows Server PowerShell reference 4 parameters Its page in the reference
Parameters
-RecordToSpecifies the location where to save the Microsoft Defender Antivirus performance recording.-SecondsSpecifies the duration of the performance recording in seconds.-SessionSpecifies the PSSession object in which to create and save the Microsoft Defender Antivirus performance recording.-WPRPathOptional argument to specifiy a different tool for recording traces.