Skip Navigation LinksALVAO 10.0Extending modulesALVAO MS SCCM ConnectorMS SCCM SettingsCollecting Detailed Information about Monitors in the SCCM Skip Navigation Links. Skip Navigation Links Skip Navigation Links.


Collecting Detailed Information about Monitors in the SCCM

Here you will find instructions about how to create a custom WMI class containing information about the connected monitors for all workstations using a Powershell script and how to keep track of the information in the SCCM database.

Creating a custom WMI class

Download the file UpdateMonitorDetails.ps. It is a Powershell script which will create a class called MonitorDetails in WMI and fill it with the required data.
Run the script manually on a computer and use the Get-WMIObject -class MonitorDetails command which should display the information about connected monitors.

Hardware Inventory settings

  1. In SCCM, go to the AdministrationClient Settings section.
  2. Select Default Client Settings and then select Properties from the context menu.
  3. Select the Hardware Inventory tab and click on Set Classes...
  4. Use the Add… command in the bottom part of the window.
  5. Enter the name of the computer on which you created the WMI class called UpdateMonitorDetails and leave the namespace as "root\cimv2".
  6. Click on Connect.
  7. In the list of classes that appears, find the MonitorDetails class, check it and select OK.
  8. Now you will see the class in HW Inventory Classes for all Client Settings. Enable the class for the required Client Setting.

Client Settings

  1. In SCCM, go to the Asset and Compliance section.
  2. Go to Compliance SettingsConfiguration Items.
  3. Select Create Configuration Item.
  4. Set the Name and Description and go to Settings.
  5. Select New – set the Name, Setting type as Script, Data type as String.
  6. Then set the Discovery script so that, after clicking on Add Script…, you copy the content of the file UpdateMonittorDetails.ps to the field.
  7. Then select OK and follow the Configuration Item creation wizard up to the end.
  8. Go to Configuration Baselines.
  9. Select Create Configuration Baseline.
  10. Set the Name and Description and add the Configuration Item created in the previous step to the Configuration data.
  11. Confirm the creation of the baseline and select Deploy.
  12. In the window that opens, set a collection of computers for which you want to record the information and select OK.
In every HW scan that follows, the client will run the PS script and the data from the class will be saved in SCCM.

 

Did not find what you were looking for? Ask our technical support team.