Quantcast
Channel: Ivanti User Community: Message List - OS Deployment and Provisioning
Viewing all articles
Browse latest Browse all 3345

Re: Reports on Provisioning History

$
0
0

I actually figured out the SQL for it:

 

SELECT        Computer.Computer_Idn, Computer.DeviceName, MAX(PROV_HISTORY_TASK.LAST_ACTION_STATUS_DATE) AS MaxDate, PROV_HISTORY_TASK.TASK_NAME

FROM            Computer INNER JOIN

                         PROV_HISTORY_TASK ON Computer.Computer_Idn = PROV_HISTORY_TASK.COMPUTER_IDN

WHERE        (cOMPUTER.DeviceName=COMPUTER.LoginName) AND  (PROV_HISTORY_TASK.LAST_ACTION_STATUS_DATE <= CONVERT(DATETIME, '2014-09-01 00:00:00', 102))

GROUP BY Computer.DeviceName, Computer.Computer_Idn,PROV_HISTORY_TASK.TASK_NAME

order by Computer.DeviceName

 

Just need to stream line it and make it available publicly.

 


Viewing all articles
Browse latest Browse all 3345

Trending Articles



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