config case_sensitive = false | preset=xdr_file | filter event_type = ENUM.FILE and 
 (agent_os_type = ENUM.AGENT_OS_WINDOWS and 
 (action_file_name contains "C:\Windows\Temp\" and 
 ((action_file_name in ("*\temp.ps1", "*\msol.ps1")) or 
 (action_file_name ~= "\\[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\.txt$" or 
 action_file_name ~= "\\[a-zA-Z]{8}\.tmp$"))))