SCCM Client Health Check using WMI Classes in Powershell

Monalika Priya 1 Reputation point Microsoft Employee

Hi Experts,

I need to create a script that will check the health of SCCM Client machines and troubleshoot accordingly.
The script will be running remotely on all client machines from any server.
For this i need information of all WMI Classes that can retrieve(or fetch) the health status of client machine.

Any help would be appreciated.


Monalika Priya

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,344 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Youssef Saad 3,401 Reputation points

    Hi @Anonymous ,

    There is a built-in client ConfigMgr task scheduler that run periodically, but if you want a supplement PS script, there is much in the Gallery, like the following:


    Youssef Saad | New blog:
    Please remember to ** “Accept answer” ** for useful answers, thank you!

    0 comments No comments

  2. AllenLiu-MSFT 39,916 Reputation points Microsoft Vendor

    Thank you for posting in Microsoft Q&A forum.
    You may also try this PS script, or you may try to retrieve the WMI Classes from this script:

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments