Giter Site home page Giter Site logo

cm_healthcheck's People

Contributors

skatterbrainz avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

nqabeni

cm_healthcheck's Issues

Add control over numeric precision on reports

The Database status reports show a lot of values, such as fragmentation, disk space, etc, as xx.xxxxxxxx (8) when they should be rounded to (2) decimals of precision. Not sure where this would be easiest/best to apply: in the Collection process or the Export process.

XML / SQL statement fails to produce output

During the processing of Get-CM-Inventory.ps1 using -Verbose, an error occurs...

SQL Query: select distinct stat.Component, stat.MessageID, stat.MessageID as Value from vStatusMessages AS stat where stat.Severity in (-1073741824, -2147483648) and stat.Component not in ('Advanced Client', 'Windows Installer SourceList Update Agent', 'Desired Configuration Management', 'Software Updates Scan Agent', 'File Collection Agent', 'Hardware Inventory Agent', 'Software Distribution', 'Software Inventory Agent') and stat.Time >= DATEADD(dd,-convert(int,7),GetDate()
)
SQL Query returned 18 records
ERROR/EXCEPTION: The following error occurred (continue).
Error 0x : Exception setting "Value": "Unable to cast object of type
System.Management.Automation.PSObject' to type 'System.IConvertible'.Couldn't store <5353> in Value Column. Expected type is Int32." connecting to Unable to update file: C:\users\sccmadmin\Desktop\hc\2017-07-27\cm01.contoso.com\ComponentErrorsSolution.xml
ComponentErrorsSolution Information...Done
Section... 6
Table..... SoftwareUpdateScanErrorsSolution - Information...Starting
Type...... sql

This causes the intended output to skip being written to file, and therefore doesn't appear in the exported MS Word report.

cmhealthcheck.xml has bugs

Multiple issues:

  1. Look for "erors" and replace with "errors"
  2. The SQL query for "SoftwareUpdateDeploymentErrorsSolution" at line 2352 throws a conversion error. The statement needs more testing.

Add Revision History Table

In the Export-CM-HealthCheck.ps1 script, add some code to insert a "Revision History" table with the first row (version 1.0) filled-in.

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.