Check & Set System Center Operations Manager Agent Version Property for Windows Servers.

Version 4

    This script queries Windows Server Registry for System Center Operation Manager Agent Version and sets up the property for server objects.

    You need to create the server property manually before running the script to do so;

    1- Open the BSA console

    2- Click Configuration

    3- Propery Dictionary View

    4- Expand - System Object / Built-in Propery Classes / Server

    5- Add the the property = SCOM_VERSION

    Then add new nsh script to depot.