SCCM - How to Find a machine belonging in all the collections.

Hi All,
is there any query or any method by which we can find that "to what all collections does a machine belong to" in SCCM 2007.
Regards,

The following SQL query will enable you just to do that 
select v_FullCollectionMembership.CollectionID, v_Collection.Name, v_R_System.Name0 from v_FullCollectionMembership 
JOIN v_R_System on v_FullCollectionMembership.ResourceID = v_R_System.ResourceID 
JOIN v_Collection on v_FullCollectionMembership.CollectionID = v_Collection.CollectionID 
Where v_R_System.Name0='Servername'
** Replace Servername with the servername you are checking against.
Blog: http://theinfraguys.com
Follow me at Facebook
The Infra Guys Facebook Page
Please remember to click Mark as Answer on the answer if it helps you in anyway

Similar Messages

  • How to find out web-inf path from the physical drive?

    How to find out web-inf path from the physical drive?
    I have some user profiles in web-inf directory.SO I want to know the path from root directory like
    d:/program files/allaire/jrun/appname/web-inf/profiles/username like that.
    Presently I am able to get the path upto the application directory and from that I am concatinationg web-inf/profiles/username .
    But it is giving problems when it is deployed under unix or linux.Because web-inf there it treats as WEB_INF
    SO I want to get the path of web-inf directory with out hard coding.
    Thanku

    String path = application.getRealPath("/WEB-INF/profiles/username");
    Note sure why you need this, but you don't need the real path to read the file - you can get an InputStream using the relative path. See ServletContext getResource() and getResourceAsStream().

  • My iMac holds my main iTunes account.  How do I find out a list of all the devices that are authorized from this computer?

    My iMac holds my main iTunes account and it shows 4 devices are authorized to play iTunes.  I can only name 3.  How do I find out a list of all the devices that are authorized from this computer?

    I don't believe this is possible, but you can deauthorize all your computers and start over if you are concerned.
    See here
    Best of luck

  • How to find out which objects are at the end of the datafiles

    My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
    For that how to find out which objects are at the end of the datafiles.

    >
    My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
    For that how to find out which objects are at the end of the datafiles.
    >
    You may want to copy this and add it to your toolkit
    See 'What's at the End of the File?' in this Tom Kyte article from the Sept 2004 Oracle Magazine
    http://www.oracle.com/technetwork/issue-archive/o54asktom-086284.html
    And this AskTom blog shows you how to generate a script containing ALTER statements toresize your datafiles to the smallest possible. You can 'pick and choose' from the ALTER statements to do what you want.
    Then of course, you can use techniques from this article by Oracle ACE, and noted author, Jonathan Lewis
    http://jonathanlewis.wordpress.com/2010/02/06/shrink-tablespace/

  • How to find out which data control do the page layout components come from?

    hi,
    work in Jdev 11.1.2.3
    After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
    --i cannot find data control related information in the property pallete for the page layout component.
    Regards.

    This information can be found in the page definition file.
    Select the field in the page and then click the binding tab.

  • How to find out if your Mac has the new Virus ?

    How to find out if your Mac has the new Virus, and how to fix it ???

    Helpful Links Regarding Flashback Trojan
    A link to a great User Tip about the trojan: Flashback Trojan User Tip
    A related link in the tip to a checker: Malware Checker Dowload Link
    A Google search can reveal a variety of alternatives on how the remove the trojan should your computer get infected. This can get you started.
    For now I recommend the User Tip from etressoft to detect and remove:
    Checking for and removing the "Flashback" trojan
    Kaspersky Flashback Trojan Site:Flashback Trojan Detection and Removal
    Also see Apple's article About Flashback malware.

  • HT2905 Does anyone know how to find and remove duplicate items in the new itunes 11?

    I am having a hard time trying to figure out how to find and remove duplicate items under the New iTunes 11? Its not as user friendly as in previous versions. Does anyone know how to figure this out?

    As Jim said View > Show Duplicates
    or
    Option + View > Show Exact Duplicates

  • How to find list of languages installed in the SAP system?

    Hi All,
    Please tell me, how to find list of languages installed in the SAP system?
    Thanks and Regards,
    Kumar.

    Hi Virgo Rhyme
    Hope the following info will be helpful
    3rd - SAP is the 3rd largest software company in the world
    30,000 - Total number of people employed by SAP
    5,400 - Number of programmers employed by SAP
    $7.024 billion - FY03 Revenue
    $1.077 million - FY03 Net Income
    12,000 - Number of companies using SAP
    79,800 - Number of SAP installations
    12,000,000 - Number of people using SAP
    120,000,000 - Total number of people in the 12,000 companies who are using SAP
    28 - Number of languages supported by SAP
    46 - Number of country-specific versions of SAP
    22 - Number of industry-specific versions of SAP
    1,000 - Number of pre-defined best practices contained in the SAP system
    10,000 - Number of tables requiring configuration in a full SAP implementation
    55,000 - Number of SAP experienced consultants worldwide
    28 - Number of years ago SAP was started
    Reward if helpful
    Regards
    Lakshman

  • How to find form descriptor, that attribute is a collection

    Hi, simple question. How to find form descriptor, that attribute is a collection?
    I got a class name and attribute name (java attribute name not the name of a column in db). I need to decide if attribute is a collection = many_to_many/one_to_many mapping. I can use a reflection but I find using Toplink metadata better, because I need this information for qenerating Toplink query.
    This is how I can get mapping for attribute. How to continue? Is it a flag or what?
    Descriptor d = serverSession.getDescriptor(MyClazz.class);
    DatabaseMapping m = d.getMappingForAttributeName("attributeName");
    Thanks
    Fero

    I found this solution:
    Descriptor d = serverSession.getDescriptor(MyClazz.class);
    DatabaseMapping m = d.getMappingForAttributeName("attributeName");
    boolean isCollection = m instanceof OneToManyMapping || m instanceof ManyToManyMapping;
    Is it OK? Or is there something better?

  • How to find last accessed/updated tables and the query text?

    I am using :
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.0 - Production
    How to find last accessed/updated tables and the query text?
    Regards
    LEE1212

    Check DBA_TBALES view there you find one date column that indicate last update
    One option is as follows:
    (1) Turn the auditing on: AUDIT_TRAIL = true in init.ora
    (2) Restart the instance if its running.
    (3) Audit the table:
         AUDIT INSERT,SELECT,DELETE,UPDATE on TableName
         by ACCESS WHENEVER SUCCESSFUL
    (4) Get the desired information using :
         SELECT OBJ_NAME,ACTION_NAME ,to_char(timestamp,'dd/mm/yyyy , HH:MM:SS')
         from sys.dba_audit_object.
    Cheer,
    Virag Sharma
    http://virag.sharma.googlepages.com/
    http://viragsharma.blogspot.com/
    Message was edited by:
    virag_sh

  • HT4993 how to find my year of birth on the iphone4

    how to find my year of birth on the iphone4

    It sounds as if it wants the answer to your security question "what is the year of your birth".
    Apple has been using these security questions for a few months now. Presumably it is to avoid theft from people guessing other people's Apple IDs and passwords. No one knows why or when anyone is asked for the answers, and like any good security system it is designed to be unpredictable.
    Whatever you answered for that question, only you can know, that's the idea behind the security questions. You could have answered 1492, it really doesn't matter, as long as your answer matches what you originally supplied.
    If you are being locked out because your answer is not what it is expecting, your only recourse is to contact iTunes Support and ask them to reset your password. You will have to answer some questions to confirm you are who you say you are, and then they will send you an email with instructions to reset your password and create new answers to more security questions.
    Contact iTunes Support here: http://www.apple.com/emea/support/itunes/contact.html

  • HT1349 how to find information on my ipad with the serial number

    how to find information on my ipad with the serial number

    You can learn how to determine the model here:
    http://support.apple.com/kb/HT5452
    If your iPad is in a case or has a skin so that you can't see the model number, enter the serial number here:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    Regards.

  • How to find when index was created in the database.

    Hi,
    Please help me, how to find when index was created in the database. It should give with date and time.
    Thanks... Bakser

    Please help me, how to find when index was created in the database. It should give with date and time.DBA_/ALL/User_objects Created
    Name                                      Null?    Type
    OWNER                                              VARCHAR2(30)
    OBJECT_NAME                                        VARCHAR2(128)
    SUBOBJECT_NAME                                     VARCHAR2(30)
    OBJECT_ID                                          NUMBER
    DATA_OBJECT_ID                                     NUMBER
    OBJECT_TYPE                                        VARCHAR2(19)
    CREATED                                           DATE
    LAST_DDL_TIME                                      DATE
    TIMESTAMP                                          VARCHAR2(19)
    STATUS                                             VARCHAR2(7)
    TEMPORARY                                          VARCHAR2(1)
    GENERATED                                          VARCHAR2(1)
    SECONDARY                                          VARCHAR2(1)
    select OBJECT_NAME,TIMESTAMP,CREATED  from ALL_OBJECTS where OWNER='OWNERNAME' AND OBJECT_NAME='OBJECT_NAME' AND OBJECT_TYPE='INDEX';Edited by: Anantha on Apr 21, 2009 3:18 PM
    Edited by: Anantha on Apr 21, 2009 3:19 PM

  • How to find my iphone les even with the power off?

    How to find my iphone les even with the power off?

    You can't if the power is OFF.

  • How to find a certain class in all "JARs" on my partition ?

    Is there a way/tool which helps me to find out in which of all the JARs on my partition a certain class exists ?
    Example: I want list all JARs (with path) which contain the Class
    cmpack.mypack.mayclass234
    Note that not only JARs in my CLASSPATH should be investigated but ALL JARs!

    Look at all files on the partition, check whether they're JARs (-->FileFilter), feed them to an UrlClassLoader and try to load that class. If that works, it's in there.

Maybe you are looking for

  • SOLVED: is usbip usb redirector working for anyone?

    I am looking for USB redirector, and naturally tried usbip package. So far, cannot make it work: #usbipd --daemon # ps -ef | grep usbip root 16722 1 0 22:28 ? 00:00:00 usbipd --daemon # lsusb Bus 004 Device 002: ID 05da:6080 Microtek International, I

  • Quick,,maybe dumb question

    I recently bought PB G4 12in and all I want to do is formated, so I can start with a cleas sheet,, can anyone tell me if I can do that myself (if so, how?) or what do I have to do, to take care of it...any help will be really helpful

  • How do I get my photos off my iphone and onto my computer

    How do I get my photos off my iphone and onto my computer, so as to free up memory on my iphone?

  • Questions for FI workshop

    Hello folks, I want to know if you guys have a question bank to start conducting workshop and create Blueprint for GL,AP, AR process. Any help would be appreciated. Best Regards Shine

  • Applet Game Programming - player movement

    HI Java Experts, I have a very simple question applet game programming - jdk 1.02. Let's say you have a player on the applet window. He can move right and left. Naturally you have an image representing the player. When the player moves left you prese