Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 258290

Need to create a scheduled file system report on files updated in the last week

$
0
0

All,

 

I'm not a SQL query expert but I need to create a report that lists all files modified in the previous seven days.  We'll schedule this report to run weekly.  The current SQL query is below, and refers to a hard date. Any guidance would be appreciated.

 

"select top 200000000 [File System - Known Files].[machine_name] AS [Machine Name],[File System - Known Files].[file_type] AS [File Type],[File System - Known Files].[path_name] AS [Path],[File System - Known Files].[modified_date] AS [Last Modified],[File System - Known Files].[datetime_collected] AS [Last Updated],[File System - Known Files].[status_change_date] AS [Status Change],[File System - Known Files].[type] AS [Type] from ecmUX_view_file_system_known_files [File System - Known Files] WHERE [File System - Known Files].[status_change_date] = '11/16/2012 3:16:47 PM' ORDER BY [File System - Known Files].[machine_name] ASC, [File System - Known Files].[modified_date] ASC"

 

Thanks in advance,

 

cloudboy551


Viewing all articles
Browse latest Browse all 258290

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>