Direct membership collection - get added date of a resource?

Hello, I was wondering if there is a way to get the date or time a resource (computer) was added to a collection (direct membership).
Reason : we are using OSD and some computers were not removed from that collection after being reimaged....so now our Imaging collection has around 85 members...some labs computers were added a couple of days ago and will be reimaged soon so I don't want
to delete them...but some computer were reimaged a while ago (so they were added a few weeks ago) so I would like to delete them... ?
Like, I would keep all the items that were added in the last five or ten days and delete all the other that have been added since more than 10 days ?
Thanks !

Not through the console, but you should be able to grab the direct membership rules via WMI (http://msdn.microsoft.com/en-us/library/hh949303.aspx) and check their creation date.
Jason | http://blog.configmgrftw.com

Similar Messages

  • How to remove multiple identified computers from direct membership collection..

    I have been askedd to remove a list of computers provided in a text file from a direct membership collection, normally this would be easy and I would use Collection Injector as it is a great solution which is pretty much foolproof, however for some reason
    that is totally beyond me and who knows why, I have been told to see if there is a script to perform the same functionality, but why reinvent the wheel.....go figure
    so in essence, does anyone know of a script to accomplish this????I can find them for a single computer but not for a list based solution, any help greatly appreciated
    regards
    many thanks

    Also, if you are looking to remove a llist of machines from a collection. Why don't you try writing a query?
    some like...
    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 whereSMS_R_System.NetbiosName not in ("null")
    here put the list of computers in the not in list..
    ----Please vote if this is helpful----- -----Knowledge is Power-------- Ajo Abraham [MCP] [MCTS]
    Maybe because you can't remove computers from a collection with a select statement? You could do it in SQL but that would be VERY unsupported.
    John Marcum | http://myitforum.com/myitforumwp/author/johnmarcum/

  • Sort collection by adding date

    Hi
    How can I sort the images inside a collection by the date of adding it to the collection?

    There is no automatic method but you can use collections for custom sorting i.e. you can drag images into your own order and they remain fixed regardless of where they are in your folders.
    Or you can drag in the filmstrip in any output module such a print, web etc.
    Take a look at this video for further information. It’s a bit slow starting so be patient.
    http://tv.adobe.com/watch/the-complete-picture-with-julieanne-kost/custom-sort-orders/

  • Get system date

    Hi
    Can I get system date directly by programming.
    I know the method of getting day, month and year by using calender class and then getting the system date by concatenating these three values.Except for this is there any direct method for getting system date.
    Please anyone answer to this asap.

    The question doesn't make any sense.
    The system date is that time for which the Calendar object is giving you individual fields. So you are already getting the system date.
    Are you asking how to get a single formatted string holding the system date?
    Or how to get the date as the number of seconds or milliseconds since 1969?

  • Is it possible to set up a form with a submit button where the data in the fields gets added to an existing excel file, just like 'collect response' but without connecting to the internet?

    I have a form that I want to use to collect peoples information with a submit button. I am trying to get the data that gets inserted to be added to an existing excel doc when the submit button gets hit, the form then resets and someone else can fill in the same form, hit submit and his data gets added to the existing data in the same excel doc. It is basically the same as the 'collecting response' option but without having to be online. The form is going to be used at a boat-show and I am going to get people to fill it out on an iPad. Does anybody know if this is possible?

    You could connect a bunch of 3700s to each computer and do this . 
    Or...since you're the one who monitors the monthly limit, you could restrict an individual's internet access once you see that you guys are coming too close to the cap. 
    I don't work for Cisco. I'm just here to help.

  • Data getting added in DSO

    Hi ,
    I am having DSO in which data is coming from cube .In transformation ( Cube --> DSO )  Rule Type EQ "Direct Assignment  & Aggregation EQ 'Overwite'  & there is no Start & End routine present .
    Cube Data
    Planning Area  Plant   Country Customer Group Chiild Material  Parent Material   Quantity
    xxx                    yy        z                ABC              100                     10                    250
    xxx                    yy        z                ABC              100                     20                    150
    xxx                    yy        z                ABC              100                     30                     50
    DSO Data  ( Planning Area,  Plant ,  Country, Customer Group, Chiild Material are Key Field  & Quanity is data field )
    Planning Area  Plant   Country Customer Group Chiild Material   Quantity
    xxx                    yy        z                ABC              100                  450
    Ideally when data flowing from cube to dso ,dso data should get overwrite if key field are same but in mine case quanity is getting added .I don't know  please guide me .

    Hi ,
          If you need different records in DSO as per  your example (without adding the parent material) ,then load two different plant values in the InfoCube and see the result. For example , load Plant '100' and Plant '200' into your InfoCube first and then load these two records into your ODS. The records will not get aggregated and you will find two records in your ODS .But if you want only the last record,then you may need to write routine in your update rules.
    Hope it clarifies your doubt.
    Thanks.

  • Adding Unknown computers resources by direct membership rule issue

    Hi, everybody!
    Finally, i've got issue discrabed here
    http://blog.coretech.dk/kea/collections-not-being-refreshed-in-configmgr-2012-r2/
    In situation with large count of primary sites and unknown computers accounts (two for each site certainly),  it's placed to be a big problem deploying task sequences to unknown computers...The comfort and rigth decision in
    my thought is deploying tasks to site's unknown collection that contains two of all unknows (only each site x86 and x64 account) directly. But after creating those/that collections/collection per sites becomes alive previously noticed trouble....How
    can we add/devide unknown computers for deploying tasks on them....Situations with availiable lists of all task sequences (as you know right that occurs while deploying tasks to  unkonow built-in collection) of all hierarchy in installing process misleads
    primary sites sccm admins....there are situations with starting wrong tasks (belongs not to their site unknowns).....
    I repeat, adding each sites unkonws to separate collection directly occurs upper link problem...
    Is any idea, guys?         

    Jason, it is above 20 sites...
    I've noticed one thing: when i use collection adding direct membership rule wizard using "unknown computer" and it's "site code" like criteria, collecton working fine. As soon as, i use console's "adding to existing collection"
    capability clicking by right mouse click on one of the unknowns...it's gonna to be fail to update in previously described way..... 

  • LMS 4.1 -- Adding larger amount of devices ( 10) results in webUI freeze and not collecting Inv/Conf-Data

    Hi all,
    with LMS 4.1 running on solaris 10 I discovered the follwing.
    Adding larger amount (>10) of devices one after the other (via DCRCLI) results in IC_Server no longer collecting the Inventory-Data nor ArchiveMgmt will collect Configs and after some while DataCollection (ANI) will get stucked in endless loop.
    After that (navigating in CW2k-WebUI) the UI freezes.
    Is that a known problem with Interprocess-Communication and Eventbus in LMS 4.1???
    Any feedback is welcome.
    Best Regards
    Lothar

    After stopping the system I discovered that RmeDbEngine won't stop.
    Issuing dbstop command also results in RmeDbEngine still running.
    We had to kill process with signal 9.

  • Adding data dynamically to JTable with a filter - getting error

    Hello,
    I am using JTable, and adding data and displaying it worked fine
    until I tried adding a filter,
    can anyone tell me what am I doing wrong or
    why am I getting this Error?
    The Error message
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
            at javax.swing.DefaultRowSorter.convertRowIndexToModel(DefaultRowSorter.java:501)
            at javax.swing.JTable.convertRowIndexToModel(JTable.java:2620)
            at javax.swing.JTable.getValueAt(JTable.java:2695)
            at javax.swing.JTable.prepareRenderer(JTable.java:5712)
            at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2075)
            at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1977)
            at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1773)
            at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
            at javax.swing.JComponent.paintComponent(JComponent.java:763)
            at javax.swing.JComponent.paint(JComponent.java:1027)
            at javax.swing.JComponent.paintChildren(JComponent.java:864)
            at javax.swing.JComponent.paint(JComponent.java:1036)
            at javax.swing.JViewport.paint(JViewport.java:747)
            at javax.swing.JComponent.paintChildren(JComponent.java:864)
            at javax.swing.JComponent.paint(JComponent.java:1036)
            at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
            at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:277)
            at javax.swing.RepaintManager.paint(RepaintManager.java:1217)
            at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
            at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
            at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
            at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)I am also using my own class that extends "AbstractTableModel"
    as TableModel,
    public class MyTableModel extends AbstractTableModel  {
        ArrayList<TableData> tableData=new ArrayList<TableData>(10);
        String[] columnNames=new String[]{"S/N"," Time (mili)","SD","SA","SSAP","DA","DSAP","FC","DATA"};   
        public void addRow(TableData data){
            tableData.add(data);
            fireTableDataChanged();
        @Override
        public int getRowCount() {
            return tableData.size();
        public TableData getRow(int i){
            return tableData.get(i);
        @Override
        public int getColumnCount() {
            return columnNames.length;
        @Override
        public String getColumnName(int col) {
                return columnNames[col];
        @Override
        public Object getValueAt(int rowIndex, int columnIndex) {
            return tableData.get(rowIndex).getValue(columnIndex);
        }The Row Filter class
    class myRowFilter extends RowFilter<MyTableModel,Integer>{
            @Override
            public boolean include(Entry<? extends MyTableModel, ? extends Integer> entry) {
                // Entry < SomeCostumTableModel , Integer> entry   ; Integer =Identifier= Row Number
                boolean frame_type;
                MyTableModel model=entry.getModel();
                TableData data=model.getRow(entry.getIdentifier());
                frame_type=((SD1&&data.SD==TableData.SD1) ||
                                             (SD2&&data.SD==TableData.SD2) ||
                                             (SD3&&data.SD==TableData.SD3) ||
                                             (SD4&&data.SD==TableData.SD4) ||
                                             (SC&&data.SD==TableData.SC) );
               return frame_type;
        }and How I add the filter to the Table
        private MyTableModel myTableModel=new MyTableModel();
        private RowSelectionListener rowSelectionListener=new RowSelectionListener();
        TableRowSorter<MyTableModel> sorter=new TableRowSorter<MyTableModel>(myTableModel);
        private FilterFrame filterFrame=new FilterFrame(this);
        // then in the constructor of the main frame
        // I call this
            sorter.setRowFilter(filterFrame.filter);
            MainTable.setRowSorter(sorter);
            sorter.setSortsOnUpdates(true);Edited by: YellowMurdoch on Nov 17, 2009 6:31 AM
    Edited by: YellowMurdoch on Nov 17, 2009 6:31 AM

    Thanks for noting that.
    you mean like this?
    public void addEntry(TableData data){
            myTableModel.addRow(data);
            javax.swing.SwingUtilities.invokeLater(new Runnable(){
                @Override
                public void run(){
                        myTableModel.fireTableRowsInserted(0,0);
        }both work,
    would putting "invokeLater" inside "addEntry" somehow mess other things?
    i guess that means addRow() is not supposed to update the table graphically?
    Edited by: YellowMurdoch on Nov 17, 2009 9:30 AM
    Edited by: YellowMurdoch on Nov 17, 2009 9:33 AM

  • Error getting value from collection to a date picker field

    Hi all,
    I'm stumble with getting correct data value from collection.
    The column is described as
    'wwv_flow_item.date_popup(3,null, c002, 'dd/mm/yyyy', 10, 10) purchase_date'
    This field is causing error: 'report error:
    ORA-01843: invalid month'
    I'm sure, c002 has correct value '08/08/2003' because I've temporarily changed description of the field to
    'htmldb_item.text(3,c002,10) purchase_date' that returned correct value.
    What can be wrong? I'm puzzled.
    Any suggestion please.

    Are you sure that when you used 'htmldb_item.text(3,c002,10) purchase_date' you got 08/08/yyyy and not 0808yyyy. I have seen that message often in Oracle (outside of HTMLDB) and it is normally when one assumes one format when it is actually another, or the leading zero gets dropped (08082005 becomes 8082005, which converts to 80/82/0205).

  • TS4036 I added Icloud to join my calendar to another person. It erased all history date from previous months. how do I get that data back?

    I added Icloud to join my calendar on my phone to another person. It erased all history date from previous months. how do I get that data back?

    i found the answer to the first part: reboot and keep hold of command+r
    this gave me a list of options
    one of them was to reinstall lion from fresh
    i went for this
    dont know why... but all forum posts i read said u should delete hard disc? theres an option for this
    which is the right option?
    any suggesstion where i go to register new mac would be great
    thanks

  • Row should get added in the target as soon as the data in the source table

    I have done the following:
    * The source table is part of the CDC process.
    * I have started the journal on the source table.
    Whenever I change the data in the source, I expect the target to get a new row added with a new sequence number as the surrogate key. I find that even though the source data changes, the new row does not get added.
    Could someone point out to me why is the new row not getting added?

    Step 1 - Sequence Number
    create a sequence in your rdbms namely
    CREATE SEQUENCE SEQUENCE_NAME
    MINVALUE 1
    MAXVALUE 99999
    START WITH 1
    INCREMENT BY 1
    YOU can use the above sequence in your mapping in this way
    schema_name.sequence_name.nextval executed on Target option .
    Next select only Insert option for sequence column .
    Click on the Source datastore and in the Properties panel you will find an option called " Journalized Data Only " . Now whenever this interface runs , only the journalized data gets transferred.
    The other way to see the journalized data from the source side is right click on the source datastore under the model which is journalized and now go to " changed data capture " and then to " journal data .. "
    Now you can see only the journzalied data.
    As CDC creates as trigger at the source , so whenever there is change in the source it gets captured at the target whenver you run the interface above interface with Journalized data only option.
    I hope iam clear and elaborate now.
    Thanks

  • UDO with DI object - some times udo data gets added but not di obj data

    Dear Experts,
      Greetings.
       I have created a customized inventory transfer form according to the customer need. I have used document type udo object and inventory transfer. Some times the udo data gets added without adding the data through inventory transfer object. Below is the code that i am using in the item event,
    If pVal.ItemUID = "1" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.Before_Action = True _
                        And pVal.FormMode = SAPbouiCOM.BoFormMode.fm_ADD_MODE Then
                        Try
                            If DeliveryChallanValidate(oForm) = False Then
                                If DC_company.InTransaction Then
                                    DC_company.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
                                End If
                                BubbleEvent = False
                                Exit Sub
                            Else
                                Try
                                    DC_company.StartTransaction()
                                   'Inventorytransfer function is used to add the inventory transfer data through DI 'object.Returns
             ' true if sucessfully added and false if there is any error.
                                    If InventoryTransfer(oForm) = True Then
                                            If DC_company.InTransaction Then
                                                DC_company.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
                                            End If
                                            BubbleEvent = True
                                            Exit Sub
                                    Else
                                        If DC_company.InTransaction Then
                                            DC_company.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
                                        End If
                                        BubbleEvent = False
                                        Exit Sub
                                    End If
                                Catch ex As Exception
                                    If DC_company.InTransaction Then
                                        DC_company.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
                                    End If
                                    BubbleEvent = False
                                    DC_Application.StatusBar.SetText(ex.Message, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
                                End Try
                            End If
                        Catch ex As Exception
                            If DC_company.InTransaction Then
                                DC_company.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
                            End If
                            BubbleEvent = False
                            DC_Application.StatusBar.SetText(ex.Message, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
                            Exit Sub
                        End Try
                    End If
    I Would like to know if there is any other method by which if there is any error the UDO data or DI object then both should not add. I am working in SBO 2007B Patch 17.
    Regards,
    Gokul K.

    Dear Siva,
      Thanks for your response. I did go through the links that you have posted. I do not have any problem in adding the stock transfer through DIAPI. My problem is that if the addon that i have developed gets disconnected, what happens is like only the udo data from the user defined form gets added and the stock transfer does not work. Hope i made my point clear.
    Regards,
    Gokul K.

  • How to get DFF data from ERP to ASCP instance using collections

    Hi Everyone,
    I have requirement that there is DFF fields defined in ERP on resource definition. I need to collect this DFF fields data information and use in ASCP instance. Is anybody worked on similar requirement or is there any possibility for getting DFF data using collection program.
    Thanks,
    Suresh

    In IHPA you will only get the KUNNR field, KNA1-KUNNR = IHPA-PARNR+0(10) for adequate partner function of course. For the other keys of KNVV you will have to look in the master table of the maintenance object (Look at IHPA-OBTYP or at first two characters of IHPA-OBJNR to get the object type)
    e.g. maintenance order (OBTYP = 'ORI', OBJNR begins with OR) in AUFK
    * From order main table AUFK
      AUFK-OBJNR = IHPA-OBJNR.
    * then order header AFIH
      AFIH-AUFNR = AUFK-AUFNR.
    * then localization in ILOA
      ILOA-ILOAN = AFIH-ILOAN.
    * Then KNVV
      KNVV-KUNNR = IHPA-PARNR+0(10).
      KNVV-VKORG = ILOA-VKORG.
      KNVV-VTWEG = ILOA-VTWEG.
      KNVV-SPART = ILOA-SPART.
    Regards,
    Raymond

  • Help adding data from datagrid to dataprovider

    Hello all,
    We are really stuck with something here. We need to be able
    to upload
    files along with some additional data (file description, is
    document
    private, document catagory) to our server. The file itself
    will
    reside on a file store and the other data will be stored in
    the DB.
    We are using the multifile upload example from adobe but the
    directions for adding additional data are cryptic at best.
    We created a few itemrenderers that are now part of the
    upload grid.
    They allow the user to enter the additional data to go with
    the file.
    The problem we are having is how to get that data that is
    entered into
    the fields inserted into the Collection so the upload can
    send it to the DB?? If
    If anyone has done anything similar some guidance would be
    greatly
    appreciated. Thanks.

    When the itemRenderer value is changed, simply update the
    corresponding property on the dataProvider item object. A reference
    to that object is passed into the renderer in the set data()
    override function.
    Here is a simple example of a renderer that updates the
    dataProvider:
    http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=559
    Tracy

Maybe you are looking for

  • Unable to import the package for java concurrent program

    Hi all i m trying to work on java concurrent program ,but when i tried to import these classes import oracle.apps.fnd.cp.request.CpContext; import oracle.apps.fnd.cp.request.JavaConcurrentProgram; the compiler is throwing cannot access class oracle.a

  • SAP VIM Integrated Invoice Cockpit - single default layout variant for all exceptions

    Dear all, I hope some one has found the solution for this problem we are experiencing in SAP Vendor Invoice Management 600: For the Integrated Invoice Cockpit ( transaction /OPT/VIM_IIC ) we want to be able to define ONE global layout variant ( avail

  • CS6 Master Collection Trial?

    I downloaded and installed CS6 Master Collection Trial, but only Audition, SpeedGrade, Air Apple iOS support, Dreamweaver, and Acrobate X Pro installed. Flash Builder, Photoshop (64-bit), Premiere, Encore, After Effects, Flash Professional, Illustrat

  • Start, Charms and Windows Key stopped working in Windows 8.1

    I have read these forums about getting the Start button and Charms back by hitting Win-C.  But that doesn't even work on mine. This started just Feb 2 when I downloaded the Windows updates sent out that day for Microsoft .NET4.5.2.  I have uninstalle

  • Forget password

    Hi friends, After starting Dac server, i started Dac client, But i forget the USERNAME and PASSWORD, due to that it is showing AUTHENTICATION FAILED.. Is there any way to recover my username and password for logging into the DAC repository for import