Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

SQL Query to See the NOT RUN Status for Software Delivery Tasks

Updated: 15 Dec 2008 | 1 comment
networkchic's picture
0 0 Votes
Login to vote

Instead of viewing the 'Status' tab on a software delivery task (which is never reliable) use this query to see a list of computers which have the status of 'Not Run' - meaning they have not received the Task or have not delivered any status on the task. Use the Collection Guid in your where clause.

select Guid from vResource where Guid in (select Guid from (select TOP 400 b.name, b.guid    
 from CollectionMembership a, vcomputer b    
 where a.CollectionGuid in ( '{e04bebd1-92dd-40e2-b014-9fed9ddcdd32}','{b6914ce4-55d5-4b4b-a8f6-c029c13794d2}')  -- Laptops    
  and a.ResourceGuid = b.Guid    
  and a.ResourceGuid not in (select _ResourceGuid from Evt_Aex_SWD_Execution where AdvertisementName = 'Pointsec Mandatory Install - 2-21-08')    
 order by b.name) xxx)
 
 

Comments

RayGallo's picture
10
Feb
2009
0 Votes 0
Login to vote

This doesn't seem to work

Wondering why I cannot get this to work.

When you say use the collection GUID in your where clause. can you calify this statement.

Thank you.