Symptoms

When performing a scan temporary files with a .tmp extension are created and subsequently deleted on the target machine.



Cause

Some of the scan tasks use custom code that is generated with the Add-Type PowerShell cmdlet on the target machine.


The Add-Type cmdlet creates temporary files using the csc.exe compiler as part of this process. The files are automatically deleted when the process is complete.



Resolution
This behavior is by design.