SCCM/WSUS report on updates needed and what type of update

Hello all. I have been trying to get a report that will show the updates needed on a computer broken down by update type (security, critical, rollup, etc.). I am getting duplicate entries in the results, and don't know what I need to do to
filter out the results that don't apply to the computer in question. Here is what I have so far:
SELECT distinct sys.Netbios_Name0, catinfo.CategoryInstanceName, summ.QNumbers, summ.ID, summ.Title, ps.LastStatusTime, os.LastBootUpTime0
FROM v_UpdateComplianceStatus css
JOIN v_R_System sys ON css.ResourceID = sys.ResourceID
JOIN v_GS_PatchStatusEx ps ON sys.ResourceID=ps.ResourceId
JOIN v_GS_OPERATING_SYSTEM os ON os.ResourceID=sys.ResourceId
JOIN v_ApplicableUpdatesSummaryEx summ ON ps.UpdateID=summ.UpdateID
JOIN v_CICategories_All catall ON catall.CI_ID = css.CI_ID AND css.Status = 2
JOIN v_CategoryInfo catinfo ON catinfo.CategoryInstance_UniqueID = catall.CategoryInstance_UniqueID
 AND ((catinfo.CategoryInstanceID = 26) OR (catinfo.CategoryInstanceID = 30) OR (catinfo.CategoryInstanceID = 33) OR (catinfo.CategoryInstanceID = 34))
WHERE sys.Netbios_Name0 = 'MachineName'
 AND (ps.LastStateName <> 'Install Verified' AND ps.LastStateName <> 'Preliminary Success')
 AND summ.Title NOT LIKE '%(LEGACY)%'
ORDER BY sys.Netbios_Name0, summ.ID
This gives me the updates in question that are needed, but produces mulitple rows for the same update. I'm probably missing something simple, but I'd appreciate any input. Thanks! Chip

Yes, I know this is an old post, I’m trying to clean them up.
I have run this query and it does not produce duplicates rows. It does however show that some SU have multiple classifications, hence why you are see it a few times.
http://www.enhansoft.com/

Similar Messages

  • I am looking to start developing apps for the iTunes Store, but I have no previous experience. What is the best way for me to start on this? As in which programs and materials must I need and what I need to know. Thanks!

    I am looking to start developing apps for the iTunes Store, but I have no previous experience. What is the best way for me to start on this? As in which programs and materials must I need and what I need to know. Thanks!

    You will need a Mac, with OS X 10.6+ on it, to be able to develop iOS apps.
    There is some info on these pages :
    developer site : https://developer.apple.com
    developing for iOS 7 : https://developer.apple.com/ios7/
    developer support : https://developer.apple.com/support/
    developer forums : https://devforums.apple.com/index.jspa (you will need to be a registered developer to access them)

  • Whats are the Forms and Reports in QM?and what is differece betwwen them?

    whats are the Forms and Reports in QM?and what is differece betwwen them?

    Hi,
    1. Forms are like templates.Forms define the text format and page layout of documents, which can be formatted (in accordance with the definitions) for display on the screen or for output to a printer.
    2. Executable program that allows users to read and evaluate data in the database.
    You can either display the output of a report on the screen or send it to a printer. You can also save it, so that it can be displayed as often as you like. It is important to be able to do this, because reading large volumes of original data can impair performance.
    Examples of reports are ABAP reports, queries, and drilldown reports.
    In short, forms are only templates and reports will retrive the data from system in certain format.
    Vishal

  • I get power cuts in France. I need a ups emergency power supply. What spec do I need and what is the best manufacturer?

    I get power cuts in France. I need a ups emergency power supply. What spec do I need and what is the best manufacturer? I have a Mac Pro from 2007 2 x 3 ghz dual core intel xeon. I would like a machine which will work with a replacement Mac Pro which I will be getting in the next few months. Alan Boyle

    1500VA 865Watt
    APC in some/most countries
    Cyberpower - what I used to replace APC
    You do not need pure sine-wave or SMART series which are top price but considered besr may be over-kill

  • Where and what type of solid state drive should I buy for my early 2008 Mac Pro Desktop??

    where can I buy and what type of solid state drive should I use to upgrade my early 2008 Mac Pro Desktop??

    Rick,
    When you get a chance.... DSLReports is off line: their SQL server decided to take its indexes and access to data. Power. Not enough of the right kind of UPS. Same happened to StorageReview's "Drive Reliability Database" about 8-9 yrs ago.
    dslreports.com is offline
    Fri Apr 20 09:05:55 EDT 2012
    SSD: Loading CS5 plus other little monsters might matter.
    Lots of small I/Os
    latency of 1/100th where nanoseconds replace those "long" milliseconds
    System: Small and fast.
    DLLoyd even goes for short-stroking drives to get and maintain highest I/O
    The new 10k VRs hit 200MB/sec - I still use them and still find them useful, long lasting, feel responsive with whatever I ask of them. I know they get criticized and "cost too much"
    Just bought a new WD Black and yes it is better than the 2008 model I was using.
    600GB 10K $200 vs $150-220 for WD Black. your choice
    I can destroy a 7.2k drive, I have brought ever 10K drive back after a simple WD Extended Test in Lifeguard.
    I don't really care about $$/GB or I wouldn't have just bought Intel 128GB $149
    Database: the pros put the index in memory and page fix (virtual volumes in memory; cache; hold disk drive index in memory). Caching storage has been around for almost 40 yrs.
    Today you can use SSDs as front end cache to hold DB indexes and frequent data for web servers and such adn use slower secondary storage.
    SSD + SAS + 4TB storage
    Separating the system from data: #1 must
    Having data on array: been what I use
    I put a large photo library on 2 x 10K VRs vs SSD and couldn't tell much difference (SSD is soundless of course) But my WD Blacks make as much noise and run 15*C hotter than those 10K (not what you expect?)
    While 10K and 7.2K are in the 140-180MB/sec range, they are in 3.0 to 12.0 ms seeks, not  0.01 ms.
    People wonnder why shrink a drive to 2.5" (or why not go down to 1.8".
    How long does it take to reposition a disk head? how often? the 10K VR travels on outer tracks at 70 MPH. Really trying to fly off into space.
    It uses one step to find the "zip code" and then another DSP to find the "house."
    True of any high density perpendicular recording mechanism.
    And of course while the Raptor-X tried to find a home with famers, Cheetah buyers, the WD 10K line has more of a home where servers and small form factor drives - and 100s of them - can fit in a rackmount server I imagine.
    Anyway.... if SR and DSLReports can drop out of site due to power and hardware failure and loss... we can learn some and hope to protect our own data and investments.

  • I am unable to find out how much and what type RAM is supported by HP ( DV6610eo ) laptop

    Hi i want to buy more RAM to my laptop but i am unsure if the motherboard will support 2GB or 4GB and what type, i think it'sDDR2 PC5300 SO DIMM 200pin but again i am not sure, bellow are the details from the service tag, i would be grateful if some one could help me with this before i buy the memory upgrade.
    DV6610eo
    S/N CNF7444MFY
    P/N KB342EA#UUW
    Best regards
    Juha

    Maximum memory is 4GB.
    Be sure and purchase only guaranteed compatible RAM. 
    Here is a link to a search that I did.
    Best regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • SCCM 2012: report for inventory of different hardware types?

    Hi,
    Is there a default report which shows how much of each model (vendor, type, f.e. 24 Dell Lenovo, 80 Dell ...) we have in our company?
    J.
    Jan Hoedt

    Hi Jan
    I have used this SQL Query when I am doing projects to get an overview of models by manufactor.
    select
    GSCS.Manufacturer0 as [Manufacturer],
    GSCS.Model0 as [Model],
    count(*) as [Count]
    from v_R_System RS
    left join v_GS_COMPUTER_SYSTEM GSCS on RS.ResourceID = GSCS.ResourceID
    Group by GSCS.Model0, GSCS.Manufacturer0
    Order by GSCS.Model0
    It is not a report in itself, but If you create a new empty report in ConfigMgr 2012 and open it with Report builder, you can use this query to built a very basic "Count Hardware Models by Manufactor".
    But I think it will give you the information you are looking for.

  • Had to replace a WSUS server that went south, now SCCM WSUS not pulling updates

    We had a 08 R2 machine serving as our WSUS server, it failed a few weeks ago and had to be replaced and was replaced with a VM 2012 R2 box.  I removed the older server from SCCM, proceeded to set up the new server (it has the same name as the old on)
    and re-add it back to sccm.  I thought everything was okay but when I checked the logs yesterday I noticed that it wasn't syncing with the new server.  The WCM.log file:
    Successfully connected to server: wsus-01.friver.local, port: 8530, useSSL: False    3/26/2014 8:51:37 AM    3648 (0x0E40)
    Successfully refreshed categories from WSUS server    3/26/2014 8:51:45 AM    3648 (0x0E40)
    Attempting connection to WSUS server: wsus-01.friver.local, port: 8530, useSSL: False    3/26/2014 8:51:50 AM    3648 (0x0E40)
    Successfully connected to server: wsus-01.friver.local, port: 8530, useSSL: False    3/26/2014 8:51:50 AM    3648 (0x0E40)
    Category Company:94d731de-22a6-4458-dc4d-b5267de026fc (Adobe Systems, Inc.) not found on WSUS    3/26/2014 8:51:50 AM    3648 (0x0E40)
    Starting WSUS category sync from upstream...    3/26/2014 8:51:50 AM    3648 (0x0E40)
    Microsoft.SystemsManagementServer.WSUS.WSUSMSPException: WSUS sync failed with UssNotFound: ~~   at Microsoft.SystemsManagementServer.WSUS.WSUSServer.IsSyncRunning()    3/26/2014 8:51:55 AM    3648 (0x0E40)
    Failed to set Subscriptions on the WSUS Server. Error:(-2146233088)Unknown error 0x80131500    3/26/2014 8:51:55 AM    3648 (0x0E40)
    STATMSG: ID=6603 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_CONFIGURATION_MANAGER" SYS=Cor-sccm-02.FRIVER.LOCAL SITE=FR1 PID=7624 TID=3648 GMTDATE=Wed Mar 26 12:51:55.295 2014 ISTR0="wsus-01.friver.local" ISTR1=""
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0    3/26/2014 8:51:55 AM    3648 (0x0E40)
    Waiting for changes for 60 minutes    3/26/2014 8:51:55 AM    3648 (0x0E40)
    the wsyncmgr.log doens't have anything in it at the moment other than sync failed and it will retry in 60 minutes, after the next attempt I will post more from there.  Did I miss a step somewhere or was there an additional step I should have taken to
    clean out the old server from SCCM that I'm not aware of?

    I did, still no go.  Here is the entry from WCM.log
    Starting WSUS category sync from upstream...    3/26/2014 12:51:50 PM    3648 (0x0E40)
    Microsoft.SystemsManagementServer.WSUS.WSUSMSPException: WSUS sync failed with UssNotFound: ~~   at Microsoft.SystemsManagementServer.WSUS.WSUSServer.IsSyncRunning()    3/26/2014 12:51:55 PM    3648 (0x0E40)
    Failed to set Subscriptions on the WSUS Server. Error:(-2146233088)Unknown error 0x80131500    3/26/2014 12:51:55 PM    3648 (0x0E40)
    STATMSG: ID=6603 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_CONFIGURATION_MANAGER" SYS=Cor-sccm-02.FRIVER.LOCAL SITE=FR1 PID=7624 TID=3648 GMTDATE=Wed Mar 26 16:51:55.707 2014 ISTR0="wsus-01.friver.local" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6=""
    ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0    3/26/2014 12:51:55 PM    3648 (0x0E40)
    Waiting for changes for 60 minutes    3/26/2014 12:51:55 PM    3648 (0x0E40)
    Trigger event array index 0 ended.    3/26/2014 1:00:04 PM    3648 (0x0E40)
    SCF change notification triggered.    3/26/2014 1:00:09 PM    3648 (0x0E40)
    Populating config from SCF    3/26/2014 1:00:09 PM    3648 (0x0E40)
    From wsyncmgr.log
    Starting Sync    3/26/2014 3:34:14 PM    4992 (0x1380)
    Performing sync on local request    3/26/2014 3:34:14 PM    4992 (0x1380)
    Read SUPs from SCF for Cor-sccm-02.FRIVER.LOCAL    3/26/2014 3:34:14 PM    4992 (0x1380)
    Found 1 SUPs    3/26/2014 3:34:14 PM    4992 (0x1380)
    Found active SUP wsus-01.friver.local from SCF File.    3/26/2014 3:34:14 PM    4992 (0x1380)
    Sync failed: WSUS update source not found on site FR1. Please refer to WCM.log for configuration error details.. Source: getSiteUpdateSource    3/26/2014 3:34:14 PM    4992 (0x1380)
    STATMSG: ID=6703 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=Cor-sccm-02.FRIVER.LOCAL SITE=FR1 PID=7624 TID=4992 GMTDATE=Wed Mar 26 19:34:14.721 2014 ISTR0="getSiteUpdateSource" ISTR1="WSUS update source not found on site FR1. Please refer
    to WCM.log for configuration error details." ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0    3/26/2014 3:34:14 PM    4992 (0x1380)
    Sync failed. Will retry in 60 minutes    3/26/2014 3:34:14 PM    4992 (0x1380)
    Setting sync alert to active state on site FR1    3/26/2014 3:34:14 PM    4992 (0x1380)
    Sync time: 0d00h00m00s    3/26/2014 3:34:14 PM    4992 (0x1380)

  • SCCM 2007 Reports - Machines with IE9 AND IE10

    hi,
    I need a report with machines with IE9 and IE 10.
    Thanks,
    AK

    Hi,
    Check out this report that will get you started..
    http://eskonr.com/2010/04/sccm-reportcollection-for-computers-with-internet-explorer-with-different-versions/
    Regardsm
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • I would like to put all my iPhone videos to my macbook air than put it on a dvd to watch on any dvd player how would i do that using my usb superdrive and what type of dvd would i need

    I have just transferred all my iphone videos into my macbook, now I would like to put these videos onto a dvd for playing on any dvd; how would I do that with my usb Superdrive dvd/cd drive. I don't see a option to burn. Please help and responses is greatly appreciated, I am a New macbook user.

    You need an app like Toast by Roxio (http://www.roxio.com/enu/products/toast/default.html).  You would use Toast to burn the videos to a DVD-R disc.

  • SCCM 2012 Report content update

    I have uninstalled Microsoft office 2010 from some PCs at half-month ago, but now when I view report  , I still can find office 2010 in the report ? why not update the latest status into the report ? can anyone help on the issue ? thanks.

    Hi,
    Please check whether the entries in report are same with that in A/R programs as Kent said.
    In addition, this information is collected by Hardware Inventory. If that report is not updated successfully, please check the process of Hardware Inventory.
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Icould storage - difference between backup total amount needed and what individual apps show

    My phone is saying that there isn't enough space in my icloud to back up. I have 15G plan. The phone says the next backup size is 12.7GB, but when I look at the list of apps and things to backup, all I have turned on is 1.7GB of Camera Roll. What else is the phone trying to back up to icloud?
    iphone 5

    My phone is saying that there isn't enough space in my icloud to back up. I have 15G plan. The phone says the next backup size is 12.7GB, but when I look at the list of apps and things to backup, all I have turned on is 1.7GB of Camera Roll. What else is the phone trying to back up to icloud?
    iphone 5

  • Single Report for production scrap and Movement type 551 scrap

    Hi All,
    Can we include the scrap information from production and scrap from movement type 551 into a single BW report?.......My assumption is we cannot include it into a single report coz production scrap will have a different material information and scrap from movement type 551 will have a different material information..please correct me ig i am wrong......
    Regards,
    Shravani

    hello,
    you can have a single report by two options
    1. have a variable on movement type.If you choose 551..U will get materials of tht movt type.
    also if the select teh movt type for prodcution, it wil display its materials.
    or
    2. U have to place  movt type in the rows.Place movt type and then material in the rows.
    Then u will get for each movt type..its corresponding materials.No variable selection needed here.
    Regards,
    Dhanya

  • What is the best converter for video files in mpeg, avi, wmv, mps, etc for imovie and what type of video files does the iMovie use? I recently purchased a MacBook Pro -version 10.10.1. I make movies, but the iMovie does not support my video files.

    What is the converter for video files, to use in the iMovie? My files are mpeg, wmv, mts, avi, etc.  I recently purchased a MacBook Pro - version 10.10.1.

    AppGeeker will do the job.

  • [SCCM 2012 R2] Windows Update Agent do not scan correctly thus SCCM has bad reports

    Hi All,
    My colleagues reported that after manual download and installation of update Office 2010 SP2 ... SCCM still do not report as Installed:
    https://support.microsoft.com/en-us/kb/2687455
    KB2687455 update on SCCM is reported as:
    Update ID: 9c5e43a3-3ae9-434d-b105-a9d7902d5f9f
    Update Title: Service Pack 2 for Microsoft Office 2010 (KB2687455) 32-Bit Edition
    Test Computer:
    After investigation I found out that Windows Update Agent (verbose logging) is reporting that this update is really not installed:  Agent Update {9C5E43A3-3AE9-434D-B105-A9D7902D5F9F} is deployed for scan, and is installable. It will be reported
    as installable.
    Update KB2687455 is shown in Programs and Features/Installed Updates as installed on this computer.
    Question:
    This update is MSP (not standard update) so it cannot be queried by win32_quickfixengineering WMI class. How to query all installed updates on system (registry, API, ...)?
    How WUA query ALL installed updates?
    Thank you in advance.
    Regards,

    Hi,
    You could check the version number. The version number of Office 2010 SP2 is greater than or equal to
    14.0.7015.1000.
    The script in the blog below could get List of installed Windows / office Updates.
    http://www.blackforce.co.uk/2013/01/27/get-list-of-installed-windows-office-updates-command-line
    The sample in the following article can be used to determine if a critical security update is installed on a computer. If the update isn't installed, the user can ensure that the update is downloaded and installed. The user can also ensure that
    they are notified about the status of the installation.
    https://msdn.microsoft.com/en-us/library/windows/desktop/aa387101(v=vs.85).aspx
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft
    does not guarantee the accuracy of this third-party contact information.
    Best Regards,
    Joyce
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Maybe you are looking for

  • I am trying to install a hp officejet 4215 all in one on a HP Pavilion slimline with Vista

    I am trying to install a hp officejet 4215 all in one on a HP  Pavilion slimline with Vista, I log in under myself and  I am an administrator, When I run the cd to install it shows that I need to be logged in as administrator, any help out there ?

  • Add Goods Receipt using DI API

    Hi all, I want to add a new Goods Receipt using DI API, for each of the lines:         oBatchReceipt.Lines.SetCurrentLine(1)         oBatchReceipt.Lines.ItemCode = "ItemA"         oBatchReceipt.Lines.WarehouseCode = "WH01"         oBatchReceipt.Lines

  • CONNECT SQL SERVER 2005 WITH Oracle 10.2.0.3

    Hi, I used URL http://www.databasejournal.com/features/oracle/article.php/10893_3442661_2 but its not working. I was reading note# 561033.1 adn planning to try. If any one done ,please let me know.

  • Why the download from Applestore is so slow?

    When I download some applications for Applestore, It is always slower than I can bare. How can I make it faster?

  • Can't format my 1.0TB Western Digital

    I just purchased a base model Mac Pro 2.8 Quad-Core and trying to install 1.0TB Western Digital in drive bay 2. The Disk Utility does recognize the drive as "Media" but won't allow me to format it. Can someone please help! Thanks!