CmdID / PowerShell / Cmdlets / Export
Export-Trace
Exports an event trace log file for provisioning. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-ConnectedDevice, -DeviceIf enabled, specifies that the device type is mobile.-ETLFile, -EtlSpecifies the ETL file location.-LogsDirectoryPath, -LogsSpecifies the logs directory path.-Overwrite, -Force, -OverwriteIndicates that the cmdlet overwrites an existing exported log if one exists.-WprpFile, -WprpSpecifies the location of the WPR profile file.