Configure system overview - msinfo32 metrics

task australia Updated Sep 10, 2026 2 min read config-system-msinfo32-metrics.md
Raw file servicenow.com

Configure the system overview - msinfo32 metrics for Microsoft Endpoint Configuration Manager for Investigation (MECM).

About this task

Important:

Starting with the Brazil release, Microsoft Endpoint Configuration Manager for Investigation is being prepared for future deprecation. It will be hidden and no longer installed on new instances but will continue to be supported. For details, see the Deprecation Process [KB0867184] article in the Now Support Knowledge Base.

Before you begin

Role required: sn_cimaf.sn_cimaf_admin

Procedure

  1. Open the Microsoft Endpoint Configuration Manager.

  2. Create an MECM script with the name createMSInfo32File.

    For more information, see Create a script in Microsoft Endpoint Configuration Manager.

  3. Provide the following code in the script block.

    PowerShell
    Param([Parameter(Mandatory=$True)][string]$scriptName) $filePath = ".\" + $scriptName + ".txt"; #invoke msinfo32 and save data into filemsinfo32 /report $filePath;
  4. Create an MECM script with the name checkMsInfo32FileExist.

    For more information, see Create a script in Microsoft Endpoint Configuration Manager.

  5. Provide the following code in the script block.

    PowerShell
    Param([Parameter(Mandatory=$True)][string]$scriptName) $filePath = ".\" + $scriptName + ".txt"; #check if file exist$fileExist = Test-Path -Path $filePath; #read msinfo32 dataif($fileExist) {    Write-Host "True"}else {    Write-Host "False";}
  6. Create an MECM script with the name fetchMsInfo32File.

    For more information, see Create a script in Microsoft Endpoint Configuration Manager.

  7. Provide the following code in the script block.

    PowerShell
    Param([Parameter(Mandatory=$True)][string]$scriptName) $filePath = ".\" + $scriptName + ".txt"; #check if file exist$fileExist = Test-Path -Path $filePath; #read msinfo32 dataif($fileExist) {    Get-Content $filePath;    Remove-Item $filePath}else {    Write-Host "File doesn't exist";}
  8. Retrieve and copy the script GUID.

  9. Open the MECM Adapter Configuration [sn_mecm_adapter_config] table.

    The MECM Adapter Configuration table displays the list of adapter configurations.

  10. From the list of configurations, select and edit System information (msinfo32).

  11. In the Action input field, add the script GUID.

    [Omitted image "mecm-msinfo32-edit.png"] Alt text: System overview - msinfo32

  12. Select Update.

Parent Topic:Configuring CI metrics for Microsoft Endpoint Configuration Manager for Investigation

Search documentation
Search document titles and file paths on the australia branch