Help! Need to remove SQL DB engine instances with discovery disabled. Remove-scomdisabledclassinstance not working fine

Hello,
I'm trying to disable the monitoring of all
db engine (2005,2008,2012),
except they are added to a specific group.
To do this, I disabled the following
discovery rules for all objects
of SQL Server Installation
2005/8/12 Seed class:
Discover SQL Server 2005 Database
Engines (Windows Server)
Discover SQL Server 2008 Database
Engines (Windows Server)
Discover SQL Server 2012 Database
Engines (Windows Server)
Furthermore I created a group with the servers
I want to monitor the SQL DB
Engine and I've enabled the same
discovery rules.
Once done, I have launched the cmdlet
remove-scomdisabledclassinstance multiple times,
and many of the SQL DB Engine
instances have been removed, but I have
many others that do not disappear.
Any idea?
Thank you very much!

Did you run “Remove-SCOMDisabledClassInstance”
until it said "completed".
Run “Remove-SCOMDisabledClassInstance”
from the Operations Manager PowerShell console. you might need to to run this multiple times, we will get errors for objectIDs and RuleIDs, but ignore them as the command is doing its thing. and keep running the command again and again until you get "Completed.
Hope this helps.
Thanks, S K Agrawal

Similar Messages

  • Troubleshoting help needed:  My iMac keeps crashing and restarting with a report detail: "spinlock application timed out"  What can I do to fix this?timed out"

    Troubleshooting help needed:  My iMac keeps crashing and restarting with a notice: "Spinlock application timed out"  What can I do?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • HT4623 my voice call services is not working with cellular network...only works fine with wifi..please help?

    my voice call services is not working with cellular network...only works fine with wifi..please help?

    Since you have already done some sort of reset on your Airport Express, you might as well make sure it was a "hard reset" - follow the instructions for a hard reset found at:
    http://docs.info.apple.com/article.html?artnum=108044
    Since your Mac is running Leopard, you need to configure the Airport Express using the Airport Utility found in the Applictions->Utilities folder. You cannot install the old software that was supplied on the CD you got with the Airport Express.
    In future - if you do something bad with network settings on your Mac, do NOT try to fix it with the Airport Utility. The Airport Utility is only used to configure the Airport Express - and since the problem you have created is on the Mac and not the Airport Express, there is no need to be using the Airport Utility and especially there is no need to be resetting the Airport Express.

  • Can someone please help, I have a dvd disk containing lecture videos, on a Windows pc it works fine, and the disk opens to the dvd menu. However on my macbook pro running Mountain Lion, it opens as a data disk, with video and audio in two seprate files??

    Can someone please help, I have a dvd disk containing lecture videos, on a Windows pc it works fine, and the disk opens to the dvd menu. However on my macbook pro running Mountain Lion, it opens as a data disk, with video and audio in two seprate files??

    You may need a 3rd party application to view the DVD in a wWindows format such as
    http://flip4mac-3.en.softonic.com/mac
    https://www.macupdate.com/app/iphone/5758/vlc-media-player

  • Proximity sensor not working fine on io5 running on iphone 4 black...fine before update...urgent help ??

    I recntly updated my iphone 4 to io5...and found that proximity sensor are not working fine... 2 out of 5 times it work...really annoyed with problem..look like a problem in 4.1 os...need urgent help...thanx in advance...and ya proximty sensor was fine before update

    I got a new 4s and gave my wife my old 4 after upgrading it to ios5. Now her phone has proximity sensor issues big time on a phone that never did before the update. It hangs up am
    nd makes another call while talking to someone. When I'm on the phone with her I can here buttons beeping and then it disconnects. It's making her hate the iphone and wanting to get an Android. Ack! We gotta stop her.

  • Help i have an old ipod touch today the wifi seems to be not working... I've been typing the correct password for my network but it doesnt work!

    Help i have an old ipod touch today the wifi seems to be not working... I've been typing the correct password for my network but it doesnt work!

    If you are sure that your password is correct try restarting your router by removing power to it for 30 seconds and restarting. On your iPod go to Settings > General > Reset > Reset network settings. Now try to connect.

  • HT1766 # is not working in my iphone 4s, when i want to see how much credit i have in iphone, i need to put # on that, than it calls and end, it is not working and not showing anything..

    # is not working in my iphone 4s, when i want to see how much credit i have in iphone, i need to put # on that, than it calls and end, it is not working and not showing anything..

    http://support.apple.com/kb/HT1848  Did you transfer your purchased item, take a look at the link

  • My appstore n camera icon has gone..anyone can help me..i already try to go setting and restriction but did not works..

    My appstore n camera icon has gone..anyone can help me..i already try to go setting and restriction but did not works..
    I also cannot update ios..how to solve this problem..?

    Your going to have to perform a restore.

  • TS1702 i have a ipod touch 2g and after a restore none of my apps will restore because it says that i need a newer version of the ipod software to run them they all work fine till i did the restore . is there any way to get them back ?

    i have a ipod touch 2g and after a restore none of my apps will restore because it says that i need a newer version of the ipod software to run them they all work fine till i did the restore . is there any way to get them back ?

    Your only way is if you have the version that was compatible on your computer such as in the recycle bin/trash or in a computer file backup. In that case delete the current version that is in your iTunes App library and replace it with the older version. Then sync.
    Also see:
    Recover Older Versions of iPhone Apps After Updating — Apple News, Tips and Reviews

  • Help needed in framing SQL query.

    Hi,
    I have table having following schema:
    PRODUCT_ID         INT
    DATE                   DATETIME
    ITEMS_SOLD         INT
    This table contains data for a week (sunday to saturday). I want to write an SQL query to get (filter out) PRODUCT_ID of products which has same no. of ITEMS_SOLD for all 7 days. Also for given PRODUCT_ID I need to find the longest period of successive days where the no. of ITEMS_SOLD is same for all days in this period. Eg.(PRODUCT_ID 23 was sold as following along the week in no. of units sold: 4,6,6,6,6,7,4 .So the longest period is *4 days* from Monday to Thursday.) The first condition is special case of second condition where no. of days is 7.
    Any help to get the SQL query will be appreciated.
    Thanks,
    Akshay.

    PRODUCT_ID      DATE           ITEMS_SOLD
    1          10/10/2011     3
    1          11/10/2011     3
    1          12/10/2011     3
    1          13/10/2011     3
    1           16/10/2011     5
    2          10/10/2011     4
    2           11/10/2011     4
    2          12/10/2011     4
    2          13/10/2011     4
    2           14/10/2011     4
    2          15/10/2011     4
    2          16/10/2011     4
    Output:
    PRODUCT_ID ITEMS_SOLD NO_OF_DAYS
    1          3                4     
    2          4               7
    Explanation of results:
    The table to be queried contains data for 1 week: from 10/10/2011(Sunday) to 16/10/2011(Saturday). Now, product with PRODUCT_ID '1' was sold on dates 10,11,12,13,16. Out of these 5 days 3 units were sold on 4 successive days (from 10-13). So output should be like :
    PRODUCT_ID ITEMS_SOLD NO_OF_DAYS
    1          3               4     
    as longest period of successive days is 4 where same no. of units were sold i.e 3 units (other period is of 1 day on 16th ).
    For PRODUCT_ID 2 we have only one period of 7 days where 4 units were sold each day. So we output :
    PRODUCT_ID ITEMS_SOLD NO_OF_DAYS
    2           4               7
    Other case where same PRODUCT_ID have different units sold on each day should be ignored.
    I hope that clarifies the problem more. Let me know in case I have missed out anything which should have been mentioned.
    -Akshay.

  • Need some help getting add/remove field buttons working

    Someone here on the forums had previously assisted me with getting a button set up on a form that would add an additional text field to a form.  I now need a separate button created that will delete a text field in case too many were added.  I am hoping that someone can assist me with this since my XML knowledge is pretty much nil.  It doesn't look like I can upload files to the forum here, so I am going to attempt to paste my code.  I just need to get the "-" button to subtract a row.  Thanks in advance for the assistance.
    -Chris
    <?xml version="1.0" encoding="UTF-8"?>
    <?xfa generator="AdobeLiveCycleDesignerES_V8.2.1.4029.1.523496" APIVersion="2.8.9029.0"?>
    <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2010-06-28T16:04:04Z" uuid="081329f3-4914-4dde-87ae-75a83da8434e">
    <template xmlns="http://www.xfa.org/schema/xfa-template/2.6/">
       <?formServer defaultPDFRenderFormat acrobat8.1static?>
       <subform name="form1" layout="tb" locale="en_US">
          <pageSet>
             <pageArea name="Page1" id="Page1">
                <contentArea x="19.05mm" y="12.7mm" w="190.5mm" h="266.7mm"/>
                <medium stock="default" short="612pt" long="792pt"/>
                <?templateDesigner expand 1?></pageArea>
             <?templateDesigner expand 1?></pageSet>
          <subform w="7.5in" h="10.5in" name="Page1">
             <subform w="174.625mm" y="79.377mm" name="Current_Objectives" layout="tb">
                <subform w="174.625mm" h="9.522mm" name="Objective">
                   <field name="txt_currobj" minH="8.263mm" w="174.625mm">
                      <ui>
                         <textEdit multiLine="1">
                            <border>
                               <?templateDesigner StyleID aped3?>
                               <edge stroke="lowered"/>
                            </border>
                            <margin/>
                         </textEdit>
                      </ui>
                      <font size="11pt" typeface="Verdana"/>
                      <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
                      <para vAlign="middle"/>
                      <caption reserve="7.76mm">
                         <para vAlign="middle"/>
                         <value>
                            <text>1.</text>
                         </value>
                         <font size="11pt" typeface="Verdana"/>
                      </caption>
                      <event activity="initialize" name="event__initialize">
                         <script contentType="application/x-javascript">this.caption.value.text.value = (this.parent.index + 1) + "."
    </script>
                      </event>
                   </field>
                   <occur max="-1"/>
                   <?templateDesigner expand 1?></subform>
                <field h="5.08mm" name="curr_obj_add_line" w="5.08mm">
                   <ui>
                      <button highlight="push"/>
                   </ui>
                   <font typeface="Arial"/>
                   <caption>
                      <value>
                         <text>+</text>
                      </value>
                      <para hAlign="center" vAlign="middle"/>
                      <font typeface="Arial"/>
                   </caption>
                   <border hand="right">
                      <edge stroke="raised"/>
                      <fill>
                         <color value="212, 208, 200"/>
                      </fill>
                      <?templateDesigner StyleID apbx2?></border>
                   <bind match="none"/>
                   <assist>
                      <toolTip>Add an item</toolTip>
                   </assist>
                   <event activity="click" name="event__click">
                      <script contentType="application/x-javascript">
    _Objective.addInstance(1)
    </script>
                   </event>
                </field>
                <field h="5.08mm" name="curr_obj_del_line" w="5.08mm">
                   <ui>
                      <button highlight="push"/>
                   </ui>
                   <font typeface="Arial"/>
                   <caption>
                      <value>
                         <text>-</text>
                      </value>
                      <para hAlign="center" vAlign="middle"/>
                      <font typeface="Arial"/>
                   </caption>
                   <border hand="right">
                      <edge stroke="raised"/>
                      <fill>
                         <color value="212,208,200"/>
                      </fill>
                      <?templateDesigner StyleID apbx2?></border>
                   <bind match="none"/>
                   <assist>
                      <toolTip>Delete an item</toolTip>
                   </assist>
                   <event activity="click" name="event__click">
                      <script contentType="application/x-javascript">
    _Objective.deleteInstance(1)
    </script>
                   </event>
                </field>
                <?templateDesigner expand 0?></subform>
             <?templateDesigner expand 1?></subform>
          <desc>
             <text name="version">8.2.1.4029.1.523496.503679</text>
          </desc>
          <?templateDesigner expand 1?></subform>
       <?templateDesigner DefaultLanguage FormCalc?>
       <?templateDesigner DefaultRunAt client?>
       <?acrobat JavaScript strictScoping?>
       <?templateDesigner Zoom 100?>
       <?templateDesigner Grid show:1, snap:1, units:0, color:ff8080, origin:(0,0), interval:(125000,125000)?>
       <?templateDesigner FormTargetVersion 26?>
       <?templateDesigner SaveTaggedPDF 1?>
       <?templateDesigner SavePDFWithEmbeddedFonts 1?>
       <?templateDesigner Rulers horizontal:1, vertical:1, guidelines:1, crosshairs:0?></template>
    <config xmlns="http://www.xfa.org/schema/xci/2.6/">
       <agent name="designer">
          <destination>pdf</destination>
          <pdf>
             <!--  [0..n]  -->
             <fontInfo/>
          </pdf>
       </agent>
       <present>
          <!--  [0..n]  -->
          <pdf>
             <!--  [0..n]  -->
             <version>1.7</version>
             <adobeExtensionLevel>1</adobeExtensionLevel>
          </pdf>
          <common/>
          <script>
             <runScripts>server</runScripts>
          </script>
          <xdp>
             <packets>*</packets>
          </xdp>
       </present>
       <?originalXFAVersion http://www.xfa.org/schema/xci/2.8/?></config>
    <localeSet xmlns="http://www.xfa.org/schema/xfa-locale-set/2.6/">
       <?originalXFAVersion http://www.xfa.org/schema/xfa-locale-set/2.6/?>
       <locale name="en_US" desc="English (United States)">
          <calendarSymbols name="gregorian">
             <monthNames>
                <month>January</month>
                <month>February</month>
                <month>March</month>
                <month>April</month>
                <month>May</month>
                <month>June</month>
                <month>July</month>
                <month>August</month>
                <month>September</month>
                <month>October</month>
                <month>November</month>
                <month>December</month>
             </monthNames>
             <monthNames abbr="1">
                <month>Jan</month>
                <month>Feb</month>
                <month>Mar</month>
                <month>Apr</month>
                <month>May</month>
                <month>Jun</month>
                <month>Jul</month>
                <month>Aug</month>
                <month>Sep</month>
                <month>Oct</month>
                <month>Nov</month>
                <month>Dec</month>
             </monthNames>
             <dayNames>
                <day>Sunday</day>
                <day>Monday</day>
                <day>Tuesday</day>
                <day>Wednesday</day>
                <day>Thursday</day>
                <day>Friday</day>
                <day>Saturday</day>
             </dayNames>
             <dayNames abbr="1">
                <day>Sun</day>
                <day>Mon</day>
                <day>Tue</day>
                <day>Wed</day>
                <day>Thu</day>
                <day>Fri</day>
                <day>Sat</day>
             </dayNames>
             <meridiemNames>
                <meridiem>AM</meridiem>
                <meridiem>PM</meridiem>
             </meridiemNames>
             <eraNames>
                <era>BC</era>
                <era>AD</era>
             </eraNames>
          </calendarSymbols>
          <datePatterns>
             <datePattern name="full">EEEE, MMMM D, YYYY</datePattern>
             <datePattern name="long">MMMM D, YYYY</datePattern>
             <datePattern name="med">MMM D, YYYY</datePattern>
             <datePattern name="short">M/D/YY</datePattern>
          </datePatterns>
          <timePatterns>
             <timePattern name="full">h:MM:SS A Z</timePattern>
             <timePattern name="long">h:MM:SS A Z</timePattern>
             <timePattern name="med">h:MM:SS A</timePattern>
             <timePattern name="short">h:MM A</timePattern>
          </timePatterns>
          <dateTimeSymbols>GyMdkHmsSEDFwWahKzZ</dateTimeSymbols>
          <numberPatterns>
             <numberPattern name="numeric">z,zz9.zzz</numberPattern>
             <numberPattern name="currency">$z,zz9.99|($z,zz9.99)</numberPattern>
             <numberPattern name="percent">z,zz9%</numberPattern>
          </numberPatterns>
          <numberSymbols>
             <numberSymbol name="decimal">.</numberSymbol>
             <numberSymbol name="grouping">,</numberSymbol>
             <numberSymbol name="percent">%</numberSymbol>
             <numberSymbol name="minus">-</numberSymbol>
             <numberSymbol name="zero">0</numberSymbol>
          </numberSymbols>
          <currencySymbols>
             <currencySymbol name="symbol">$</currencySymbol>
             <currencySymbol name="isoname">USD</currencySymbol>
             <currencySymbol name="decimal">.</currencySymbol>
          </currencySymbols>
          <typefaces>
             <typeface name="Myriad Pro"/>
             <typeface name="Minion Pro"/>
             <typeface name="Courier Std"/>
             <typeface name="Adobe Pi Std"/>
             <typeface name="Adobe Hebrew"/>
             <typeface name="Adobe Arabic"/>
             <typeface name="Adobe Thai"/>
             <typeface name="Kozuka Gothic Pro-VI M"/>
             <typeface name="Kozuka Mincho Pro-VI R"/>
             <typeface name="Adobe Ming Std L"/>
             <typeface name="Adobe Song Std L"/>
             <typeface name="Adobe Myungjo Std M"/>
          </typefaces>
       </locale>
    </localeSet>
    <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.2.1-c041 52.337767, 2008/04/13-15:41:00        ">
       <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
          <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
             <xmp:MetadataDate>2010-06-28T16:04:04Z</xmp:MetadataDate>
             <xmp:CreatorTool>Adobe LiveCycle Designer ES 8.2</xmp:CreatorTool>
             <xmp:ModifyDate>2010-06-28T11:28:54-04:00</xmp:ModifyDate>
             <xmp:CreateDate>2010-06-18T11:45:23-04:00</xmp:CreateDate>
          </rdf:Description>
          <rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" rdf:about="">
             <pdf:Producer>Adobe LiveCycle Designer ES 8.2</pdf:Producer>
          </rdf:Description>
          <rdf:Description xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" rdf:about="">
             <xmpMM:DocumentID>uuid:081329f3-4914-4dde-87ae-75a83da8434e</xmpMM:DocumentID>
             <xmpMM:InstanceID>uuid:4d9ea5d0-fbf1-4be5-8aa5-b9c828a765e9</xmpMM:InstanceID>
          </rdf:Description>
          <rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="">
             <dc:format>application/pdf</dc:format>
          </rdf:Description>
          <rdf:Description xmlns:desc="http://ns.adobe.com/xfa/promoted-desc/" rdf:about="">
             <desc:version rdf:parseType="Resource">
                <rdf:value>8.2.1.4029.1.523496.503679</rdf:value>
                <desc:ref>/template/subform[1]</desc:ref>
             </desc:version>
          </rdf:Description>
       </rdf:RDF>
    </x:xmpmeta>
    <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
       <annots/>
    </xfdf></xdp:xdp>

    Hi,
    The (1) is incorrect for the removeInstance.
    In the addInstance script the (1) is for "true" - merge the new instance with the data model.
    In the removeInstance you need to specify which instance you want to remove.
    So in your button the script would look think this:
    var vCount = _Objective.count - 1;
    _Objective.removeInstance(vCount);
    This counts the number of instances and then subtracts 1, because the instances are zero based.
    I have also added a button within the repeating instance, which allows the user to select the instance they want to remove.
    _Objective.removeInstance(this.parent.index);
    The this.parent.index is telling Acrobat that the instance to delete is the one that the button is in.
    Form is here: https://acrobat.com/#d=nn2Ubo6tq5TDEcrtnz-SCg
    Good luck,
    Niall

  • Help Needing in optimizing SQL

    I need help optimizing the following SQL.
    Following are the schema elements -
    cto_xref_job_comp - Contains the Job Data
    cto_mast_component - Contains component
    cto_mast_product - Contains product info
    cto_mast_model - Contains model info
    cto_xref_mod_prod - Contains model and product assoiciation
    cto_mast_model_scan - Contain the Scan order for each model family (the mod_id(should be renamed) refers to mod_fam_id on the cto_mast_model table).
    Here is what I am trying to achieve
    I want all the ATP components whose Travel card order (on cto_mast_model_scan > 0 ) and in addition I need the Phantoms that do not have any ATP components under them if they do not appear on ATP component list.
    SELECT f.travelcard_order, b.job_number,
    b.product_code,
    b.line_number,
                   b.component_type,
    b.component_item_number,
    b.parent_phantom,
    b.item_type,
    a.comp_id,
    a.comp_type_id,
    a.comp_desc_short,
    b.batch_id,
    b.quantity_per_unit,
    a.comp_notes,
                   b.COMPONENT_ITEM_DESCRPTION
    FROM      cto_xref_job_comp b,
                        cto_mast_component a,
                        cto_mast_product c,
    cto_xref_mod_prod d,
    cto_mast_model e,
                   cto_mast_model_scan f
    WHERE ( b.job_number = 'CTO2499814001' ) AND
    ( b.batch_id = 21 ) AND
    (b.item_type = 'ATP') AND
                   (b.parent_phantom = a.comp_desc_short ) and          
                   (b.product_code = c.prod_desc_short ) and
    (c.prod_id = d.prod_id ) and
    (d.mod_id = e.mod_id) and
    (e.mod_fam_id = f.mod_id) and
    (a.comp_type_id=f.comp_type_id) and
                                       (f.travelcard_order > 0)
    union
    SELECT distinct f.travelcard_order, b.job_number,
    b.product_code,
    b.line_number,
                   b.component_type,
    b.parent_phantom,
    b.item_type,
    a.comp_id,
    a.comp_type_id,
    a.comp_desc_short,
    b.batch_id,
    1,
    a.comp_notes,
    FROM      cto_xref_job_comp b,
                        cto_mast_component a,
                        cto_mast_product c,
    cto_xref_mod_prod d,
    cto_mast_model e,
                   cto_mast_model_scan f
    WHERE ( b.job_number = 'CTO2499814001' ) AND
    ( b.batch_id = 21 ) AND (b.item_type is null) and
                   (substr(b.parent_phantom,1,1)='C') and
                   (b.parent_phantom = a.comp_desc_short )
    and (b.parent_phantom not in (select parent_phantom from cto_xref_job_comp where job_number=b.job_number and batch_id=b.batch_id and item_type='ATP')) and           
                   (b.product_code = c.prod_desc_short ) and
    (c.prod_id = d.prod_id ) and
    (d.mod_id = e.mod_id) and
    (e.mod_fam_id = f.mod_id) and
    (a.comp_type_id=f.comp_type_id) and (f.travelcard_order > 0)

    Here is a small example.
    DECLARE
         my_table VARCHAR2(10) := 'DUAL';
         my_value INTEGER;
    BEGIN
         EXECUTE IMMEDIATE 'SELECT 1 FROM ' || my_table INTO my_value;
         DBMS_OUTPUT.PUT_LINE(my_value);
    END;
    you can use your cursor value in the place of my_table.
    Thanks,
    Karthick.
    http://www.karthickarp.blogspot.com/

  • Help needed for SCCM SQL query

    Hello.
    I have the below query to extract the workstations build date as well as the hardware info. This works fine. 
    Select distinct
    v_R_System.Name0,
    v_GS_COMPUTER_SYSTEM.Manufacturer0,
    v_GS_COMPUTER_SYSTEM.Model0,
    v_GS_COMPUTER_SYSTEM_PRODUCT.Version0,
    v_GS_OPERATING_SYSTEM.Caption0,
    v_GS_OPERATING_SYSTEM.CSDVersion0,
    v_GS_OPERATING_SYSTEM.InstallDate0
    From v_R_System
    LEFT JOIN v_GS_OPERATING_SYSTEM ON v_GS_OPERATING_SYSTEM.ResourceID=v_R_System.ResourceID
    LEFT JOIN v_GS_COMPUTER_SYSTEM_PRODUCT ON v_GS_COMPUTER_SYSTEM_PRODUCT.ResourceID=v_R_System.ResourceID
    LEFT JOIN v_GS_COMPUTER_SYSTEM ON v_GS_COMPUTER_SYSTEM.ResourceID=v_R_System.ResourceID
    LEFT JOIN v_GS_SYSTEM_CONSOLE_USAGE ON v_R_System.ResourceID=v_GS_SYSTEM_CONSOLE_USAGE.ResourceID
    Where v_GS_OPERATING_SYSTEM.Caption0 = 'Microsoft Windows 7 Enterprise' and v_R_System.Is_Virtual_Machine0 =0
    order by v_GS_OPERATING_SYSTEM.InstallDate0 desc
    Now, I want a report of count of machines built based on "v_GS_COMPUTER_SYSTEM_PRODUCT.Version0" against every month and year of "v_GS_OPERATING_SYSTEM.InstallDate0".
    For example, I want to know the number of machines under a particular model (which appears under  v_GS_COMPUTER_SYSTEM_PRODUCT.Version0) built in June 2014. In this fashion I want a report for every model count for every month and year available under
    InstallDate0 column)
    Example:
    Jan 2013 ->  ThinkCentre M92p -> 55
    Jan 2013 ->  ThinkCentre M93 -> 40
    Feb 2013 ->  ThinkCentre M92p -> 10
    Feb 2013 ->  ThinkCentre M93 -> 39
    Jan 2014 ->  ThinkCentre M92p -> 20
    Jan 2014 ->  ThinkCentre M93 -> 25
    Feb 2014 ->  ThinkCentre M92p -> 12
    Feb 2014 ->  ThinkCentre M93 -> 35
    Can anyone help?

    After scratching my head a bit, I came up with the below. Do you find any flaw in it?
    Select
    v_GS_COMPUTER_SYSTEM.Manufacturer0 as Manufacturer,
    v_GS_COMPUTER_SYSTEM.Model0 as Model,
    v_GS_COMPUTER_SYSTEM_PRODUCT.Version0 as "Model Info",
    COUNT(*) as "No. of machines built",
    CASE WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '1' THEN 'January'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '2' THEN 'February'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '3' THEN 'March'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '4' THEN 'April'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '5' THEN 'May'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '6' THEN 'June'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '7' THEN 'July'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '8' THEN 'August'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '9' THEN 'September'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '10' THEN 'October'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '11' THEN 'November'
    WHEN Month(v_GS_OPERATING_SYSTEM.InstallDate0) = '12' THEN 'December'END as "Month",
    YEAR(v_GS_OPERATING_SYSTEM.InstallDate0) as "Year"
    From v_GS_COMPUTER_SYSTEM
    LEFT JOIN v_GS_OPERATING_SYSTEM ON v_GS_OPERATING_SYSTEM.ResourceID=v_GS_COMPUTER_SYSTEM.ResourceID
    LEFT JOIN v_GS_COMPUTER_SYSTEM_PRODUCT ON v_GS_COMPUTER_SYSTEM_PRODUCT.ResourceID=v_GS_COMPUTER_SYSTEM.ResourceID
    Where v_GS_OPERATING_SYSTEM.Caption0 = 'Microsoft Windows 7 Enterprise' Group By v_GS_COMPUTER_SYSTEM.Manufacturer0,
    v_GS_COMPUTER_SYSTEM.Model0,
    v_GS_COMPUTER_SYSTEM_PRODUCT.Version0,
    Month(v_GS_OPERATING_SYSTEM.InstallDate0),
    YEAR(v_GS_OPERATING_SYSTEM.InstallDate0)
    Order by v_GS_COMPUTER_SYSTEM_PRODUCT.Version0 desc

  • Help needed to track down Problem in tiger with Pioneer DVR-110D

    ok as i stated in another topic i own a Beige G3 AIO that is running OS 9.2.2 and OS X 10.4.8 and i have done allot to this system to get it to run faster and to run properly.
    part of this setup has a Pioneer DVR-110D it there and when i bought it i was running OS 9.2.2 only. at first i could not burn anything with it cause it wasn't supported and when i went to put the system to sleep it would freeze when i would wake it up it never did this before i installed the drive so i knew what was causing it.
    i turned off HDD sleep and the problem was fixed. but i didn't like the ideal of having the hdd running all the time when idle. me and a friend was talking about optical drive issues and he said he found this driver replacement for the apple cd/dvd driver called intech speed tool's 6.0 for OS 9.2.2 and that i should give it a try cause it fixed a few problems for him.
    i downloaded the demo of it and installed it and i turned on hdd sleep and put the system to sleep and woke it back up and the system was running great. so now the wake up freeze problem was cured. but still no burn support. so after a few weeks of posting on here about the problem some one came by and said he knew what the problem was and sent me a modded PioneerCDR authoring support extension. i installed it and rebooted and opened iTunes and iTunes showed Pioneer DVR-110D as the devise to burn to. so i tryed it and behold it burned a audio cd with no problems.
    later i bought a western digital SE 120gb hdd and installed it and partitioned it 3 times a 8gb first partition for OS X a second partition 10gb for OS 9.2.2 and the 3rd partition was the rest of the drives size for shared data and storage. the hdd worked great with no issues so it was time to try OS X on this system cause i was waiting to get a large HDD to do so.
    i figured that the Pioneer drive would not boot the OS X jaguar cd and is a known problem with non apple cd rom drives. so i took out the Pioneer and reinstalled the apple 24x stock cd rom drive. and the jag install cd booted without a hitch. Jag installed and was running so i updated to 10.2.8 and found out the internal screen kept going out and locking the system up. so i searched this forum for the onboard video blackout and came across the terminal work around to get the system to behave itself with having more than 192mb ram installed. i rebooted and all went fine afterward.
    i reinstalled the Pioneer drive and went to testing it all was fine everything mounted on the desktop that i put in the drive. but i lacked the ability to burn with the drive cause still the drive wasn't supported be the system so i searched the forum and came across the program called patchburn. i downloaded it and ran it and patched the driver to support iApps burning with this drive. so i put in a blank cd and went to burn in iTunes it burned flawlessly so i tryed a dvd-r with the finder it to burned flawlessly.
    o loved playing a game planeshift and then they stopped supporting 10.2.8 so i went to buy the tiger install cd's. i already knew the Beige G3 was not a supported version of Os X on this system and you had to use xpostfacto 4 to install tiger on this system. so i did what i had to do to install tiger on the system and selected use old NDRV and selected to install tiger. which installed some files to boot tiger and rebooted yet again the Pionner drive refused to boot the install cd's . i got mad and held down the command option power key's for about 10 seconds and let off. the tiger installer booted and got to where it started to copy the files to the hdd and stalled out and the drive spun down never to spin back up or show signs of life so i powered down the system and removed the pioneer drive and put the stock 24x cdrom in and installed tiger.
    after tiger was installed i shut down the system and installed the pioneer drive. and powered back on and it was in verbose mode showing what was going on one part showed that the Pioneer drive was detected but had no kernel dependencies and continued to boot. i went to repair the permitions when the onboard video went blank and the system locked up. i rembered that 10.2.8 did the same thing so i tried the 10.2.8 screen blackout fix in 10.4 and rebooted. the onboard video didnt come on but since i had a ATI Radeon 7000 i could work around in tiger to update to 10.4.7 at the time. i first repaired permitions and then ran software update and updated everything and rebooted. the onboard video came back on allong with the ATI Radeon 7000 which being used as boot video device and shown the gray apple logo with the spinning pin wheel at the bottom.
    so far tiger was running great so i put a disk in the drive and nothing it didn't mount anything so i ejected it with the button on front of the drive and tryed a dvd movie and got the same nothing as with the cd. so i rebooted with the dvd in the drive al behold tiger mounted the dvd but as soon as i would try to do anything with it the drive would stop and i would have to reboot the system to gain the drive back so i can repair permissions. and never tryed to use the drive again
    10.4.8 update came out i updated to it using software update and rebooted. the update went flawless so i thought to myself what if the pioneer drive worked now. so i put a cd in the drive and it mounted the disk. then i ejected it with amazement and put a dvd in and it to mounted. so i tryed to play the dvd and it played the dvd to the end of the movie. i took out the dvd and rebooted. i tryed to put the dvd back in but it didnt mount. which ****** me off as to why it was just working and now its not.
    i rebooted and the dvd mounted as soon as the desktop showed up so i tried to play it but this time it only played for about 10-13 minutes before the drive stopped spinning which made dvd player stop responding which made me have to force quit the dvd player and try to restart which gave me a kernel panic. so i forced restarted (got a forum to send to apple to report the KP so i did) and the dvd mounted once again as soon as the desktop showed so i ejected the dvd and put a audio cd in and it mounted and i played the hole cd. so i ejected that and put a blank cd in and treed to burn and it got to 30% and then the drive spun down and made the disk utility stop responding. so i forced quit disk utility and rebooted. once it rebooted nothing popped up so i pressed the eject button on the drive and the cd r came out.
    the OS X 10.4.8 update made the drive more stable but still wont burn anything. some times it will still not mount anything, some time it will not play anything, and still fails to copy files over to the hdd. so now im left to believe its a driver issue some where since this drive worked so flawlessly in jaguar and OS 9 but fails to work properly in tiger.
    i looked in the extensions in ASP in 10.4.8 and there is a few extensions showing errors. i made a list of them to show
    PatchedAppleNVRAM:
    Version: 3.0
    Last Modified: 8/9/05 6:07 PM
    Location: /System/Library/Extensions/PatchedAppleNVRAM.kext
    kext Version: 3.0
    Load Address: 0x4db000
    Valid: Yes
    Authentic: Yes
    Dependencies: Incomplete
    Dependency Errors:
    com.macsales.iokit.OpenOldWorldNVRAM: No valid version of this dependency can be found
    Integrity: Unknown
    OpenPMUNVRAMController:
    Version: 2.0
    Last Modified: 8/9/05 6:08 PM
    Location: /System/Library/Extensions/OpenPMUNVRAMController.kext
    kext Version: 2.0
    Load Address: 0x63a000
    Valid: Yes
    Authentic: Yes
    Dependencies: Incomplete
    Dependency Errors:
    com.macsales.iokit.OpenOldWorldNVRAM: No valid version of this dependency can be found
    Integrity: Unknown
    GossamerDeviceTreeUpdater:
    Version: 3.0
    Last Modified: 8/9/05 6:07 PM
    Location: /System/Library/Extensions/GossamerDeviceTreeUpdater.kext
    kext Version: 3.0
    Load Address: 0x63d000
    Valid: Yes
    Authentic: Yes
    Dependencies: Incomplete
    Dependency Errors:
    com.macsales.iokit.OpenPMUNVRAMController: No valid version of this dependency can be found
    Integrity: Unknown
    that is the list of extensions that are reporting some sort of errors. at first i was figuring it was a problem with the driver for the Pioneer drive but my friend brought over his digital audio G4 which was also running 10.4.8. and we decided to try the drive in his Mac to see if there was any problems. it mounted everything we threw in it. it played dvd's great and played audio cd's great, it copied files over to the hdd without fail. it even burned a flawless cd. ok now the ideal of the driver for the drive was thrown out the window. so it has to be something else causing the problem. either a driver for a part on the motherboard or what i have no clue.
    im just wondering what driver it would be causing a problem not allowing the Pioneer drive to work properly. cause its not the drive being bad cause it worked flawlessly in OS 9.2.2 and jaguar and in tiger in my friends digital audio G4
    im just wondering if anyone might know what could be done to fix this problem cause i know it can be fixed but i don't know where to begin or how. so i ask you how could i begin to fix this
    thank you all for baring with me and reading all this. i know i wrote allot but i had to explain what was going on before i could ask for help so you could better understand what was going on. i have already updated the firmware to the latest with no change the firmware use to be the old 1.11

    yea i have along time ago and also made a update to xlr8's drive database. cause i fixed the problems with the drive in OS 9.2.2 (AKA no burn support with the built in burning app or iTunes, now have full support for burning with the finder burn and iTunes thanks to a edited PioneerCDR authoring support extension that someone edited for me. found out that the Apple CD/DVD driver extension was at fault for the locking up on wake up with hdd sleep enabled that started when i installed the Pioneer drive. fixed with intech CD/DVD speedtools 6.0).
    When i did the first report on the drive database on xlr8yourmac i reported what problems i was having in OS 9.2.2 and i think i reported that i had no problems in jaguar, and was trying to obtain a driver or something to try to get it to work. but to no avail at first. after i fixed the problems i did a update report
    in jaguar the drive had no problems but no burn support. installed patchburn and the drive worked 100% in jag no problems what so ever. im thinking it has somthing to do with one or all of the extensions with errors but i can be wrong.
    i just wonder where ryan has been on the forums in OWC's site. cause i would like to submit my crash log panic log and the extensions with errors so he could help track down the problems to see if it cant be fixed. but ive tried emailing him but no replay's. and his last reply on the OWC forums was back in desember 2005 a few day's over a year
    i know it isnt the drive cause it worked flawlessly in tiger 10.4.8 on my friends Digital Audio but i know why it worked fine cause it has the proper files for the DA to work cause its a supported system. i would like to try to help to get xpostfacto to work better on the Beige G3 system
    in tiger if it is something to do with xpostfacto

  • Help Needed re:Spry Tooltip and render issue with XP

    I have an issue with spry tooltip and XP not sure why ?
    Here it is I am designing/building a website for a restaurant, I am making use of the spry tooltip on the menu page as a rollover for a larger menu image to appear, which it does. Everything is cool in Vista etc. but if you are using XP for some reason the rollover effect only works once and then no more until the page is refreshed which is really annoying and certainly not the effect i am looking for. I know this is occuring because of this line of code :-
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> which I need to keep in.
    Does ANYONE know a quick fix ? or ran into this problem before ?
    I am sure the attached .JS file is the key to fix.
    Thanks in advance
    Andy....!

    This is one of those situations you may need to see to believe,
    whats happening is only on an XP IE8 browser which the ******** client is looking at (what are the odds)?
    On newer systems and other browsers NO problem:-
    You bring up the menu page and mouse over spry triggers and it works PERFECTLY, but only ONCE when you try again the cursor flickers as the trigger is engaged and nothing is revealed? I am sure the spry is working but somehow it is being hidden from rendering correctly as if trapped behind another image or on a delay, and then when you mouse off maybe 500ms later the image flickers into view and dissappears almost instantly. (an obvious error of some sort)
    This only occurs when I place this source code in the head tags:-
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
    Without code works fine, but I need to include this code for it to look as it should cross browser.
    Ask me anything I will help as much as I can but right now I am at a loss !
    Thanks in advance
    Andy....!

Maybe you are looking for