Configuration manager 2012 Enumeration for health status of clients

Welcome Forums General PowerShell Q&A Configuration manager 2012 Enumeration for health status of clients

This topic contains 3 replies, has 2 voices, and was last updated by

 
Participant
4 months, 3 weeks ago.

  • Author
    Posts
  • #119250

    Participant
    Points: 58
    Rank: Member

    After you are connected to Configuration manager with

    Import-Module "$($ENV:SMS_ADMIN_UI_PATH)\..\ConfigurationManager.psd1"

    Does anyone happen to know the values for the status's from this cmdlet or if there is an enum for it:

    get-cmdevice -collectionname 'All Systems' -name $computername | select SMSID,name,clientactivestatus

     

    This article indicates there are 6 status'

    https://social.technet.microsoft.com/wiki/contents/articles/35116.sccm-understanding-the-client-health-activeinactive-status.aspx?wa=wsignin1.0

    • Active/Pass
    • Active/Fail
    • Active/Unknown
    • Inactive/Pass
    • Inactive/Fail
    • Inactive/Unknown

    I don't have access to the View. Hoping there was a Enum to help with it.

  • #119291

    Participant
    Points: 1,607
    Helping Hand
    Rank: Community Hero

    Never worked with SCCM, When checked the documentation of the SMS_CombinedDeviceResources class. You can get it from the AMTStatus property of this class.

  • #119308

    Participant
    Points: 58
    Rank: Member

    Nice … thank you for pointing me to that class... Much appreciated.

  • #119309

    Participant
    Points: 1,607
    Helping Hand
    Rank: Community Hero

    You're welcome, this resembles the power of community.

The topic ‘Configuration manager 2012 Enumeration for health status of clients’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort