Ask a questionAsk a question
 

AnswerQuery based collection that displays Distribution Points.

  • Wednesday, September 09, 2009 8:40 PMwerknhrd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Here is the query I have setup:
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.SystemRoles = "SMS Distribution Point" and SMS_R_System.OperatingSystemNameandVersion not like "Microsoft Windows NT Server%"

    It works well, however it displays distribution points that have the role removed.

    How do I remove the "SystemRole" from computers that are no longer being used as distribution points and have been removed from the "site system" node?

Answers

  • Thursday, January 28, 2010 4:04 PMwerknhrd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Sorry for the extremely late response. 

    I went about creating the collection a different way.  I made the collection a direct membership collection and exported the list from site systems.
    • Marked As Answer bywerknhrd Thursday, January 28, 2010 4:04 PM
    •  

All Replies

  • Thursday, September 10, 2009 3:41 PMEirik Hamer Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    The result is based on information in the db, not on the SP. You have to make sure a hardware discovery cycle has been run since you removed the role before this change will be reflected in the report.
  • Thursday, September 10, 2009 5:05 PMwerknhrd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I am finding pc's in the collection that have had the role removed for several weeks now (hardware discovery, set to once a week).
  • Thursday, September 10, 2009 6:43 PMWallyMSFT, OwnerUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I would assume this comes from WINNT Server Discovery. The next time that discovery method runs (which is an automatic dscovery method, you have no control over it) that would clean it out. However, you said it has been weeks now, that method runs weekly.

    Of course, you could delete the discovery record from a collection (be careful, this removes *all* data for that system - discovery, inventory, and status), and then when it is next discovered, such as from Heartbeat Discovery or an inventory process (will take a couple of cycles if it has been deleted), it should report in without the role.
    Wally Mead
  • Thursday, September 10, 2009 7:50 PMwerknhrd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Our infrastructure is Server 2003. 

    With that being the case, the only way to resolve this is to manually delete the computers from SCCM, wait until it is re-discovered and re-install the client?
  • Friday, September 11, 2009 11:13 AMEirik Hamer Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    With Wally's approach you don't have to uninstall the client. Just delete the computerobject from sccm and wait for the next discovery cycle.
  • Friday, September 11, 2009 5:13 PMwerknhrd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Great.  I will give this a try.


    I appreciate everyone's response.
  • Tuesday, November 10, 2009 9:36 AMWallyMSFT, OwnerUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Did you try, and did it work? If so, it is always requested that you update the forum so we all know the answer, and can see that the thread has been answered.
    Wally Mead
  • Thursday, January 28, 2010 4:04 PMwerknhrd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Sorry for the extremely late response. 

    I went about creating the collection a different way.  I made the collection a direct membership collection and exported the list from site systems.
    • Marked As Answer bywerknhrd Thursday, January 28, 2010 4:04 PM
    •