Giter Site home page Giter Site logo

showupdateapplicabilityrule's Introduction

Show Update Applicability Rule

Introduction

Windows Updates have Applicability Rules, that decide whether an update is installable or is installed. This information can be very useful in Troubleshooting cases and to understand why a updates report back installed or why a updates is not installing. These Rules are defined in the Update.xml per Update. The Update.xml is stored in the WSUS Update Database in the RootElementXmlCompressed filed of the table tbxml. An update can be bundled. Therefore the bundled update xml needs to be looked at. Show-ApplicabilityRule.ps1 will help you to extract the Applicability Rule.

Script Stand alone

Alt text

.\Show-ApplicabilityRule.ps1 -SQLServer sql1.ifish.local -SQLDBName SUSDB -UpdateSearchString "%Office 365 Client Update - First Release for Current Channel Version 1706 for x64 based Edition (Build 8229.2056)%"

SCCM Console Extension installation

Alt text

download the two powershell script and run

./Install-Extension.ps1

Restart the Console

SCCM Console Extension uninstallation

./Install-Extension.ps1 -Uninstall

TODO

  • replace temp file workaround in powershell script
  • Test in Multi SUS Environment
  • Autdetection of SUS SQL and DB
  • uninstallation routine script
  • Test with WID (Windows Internal Database)
  • Better view of the Applicability Rule
  • SQL Command Error Handling

Contribute

Let me know, create issues or PR's

showupdateapplicabilityrule's People

Contributors

jonasatgit avatar mrwyss-msft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

showupdateapplicabilityrule's Issues

Nothing inside IsInstalled and IsInstallable

Hi! Love what you've written, it sounds super promising and helpful. I'm just having a little hard time getting my head around it, it's likely I'm doing it wrong.

For the below updates I have seen IsInstalled and IsInstallable with nothing really inside them. Not like what your demo gif shows at least on the README.

2019-09 Cumulative Update for Windows 10 Version 1809 for x64-based Systems (KB4512578)
2019-03 Security Update for Windows 7 for x64-based Systems (KB4474419)
2019-03 Servicing Stack Update for Windows 7 for x64-based Systems (KB4490628)
Example screenshot of what I see for all of the above updates:

https://user-images.githubusercontent.com/6683266/66035606-5b3e8f80-e503-11e9-9b14-46259ee96dc3.png

Would appreciate any insight you can offer!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.