Configure system overview - msinfo32 metrics
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
-
Open the Microsoft Endpoint Configuration Manager.
-
Create an MECM script with the name
createMSInfo32File.For more information, see Create a script in Microsoft Endpoint Configuration Manager.
-
Provide the following code in the script block.
PowerShellParam([Parameter(Mandatory=$True)][string]$scriptName) $filePath = ".\" + $scriptName + ".txt"; #invoke msinfo32 and save data into filemsinfo32 /report $filePath; -
Create an MECM script with the name
checkMsInfo32FileExist.For more information, see Create a script in Microsoft Endpoint Configuration Manager.
-
Provide the following code in the script block.
PowerShellParam([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";} -
Create an MECM script with the name
fetchMsInfo32File.For more information, see Create a script in Microsoft Endpoint Configuration Manager.
-
Provide the following code in the script block.
PowerShellParam([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";} -
Retrieve and copy the script GUID.
-
Open the MECM Adapter Configuration [sn_mecm_adapter_config] table.
The MECM Adapter Configuration table displays the list of adapter configurations.
-
From the list of configurations, select and edit System information (msinfo32).
-
In the Action input field, add the script GUID.
[Omitted image "mecm-msinfo32-edit.png"] Alt text: System overview - msinfo32
-
Select Update.
Parent Topic:Configuring CI metrics for Microsoft Endpoint Configuration Manager for Investigation
---
title: Configure system overview - msinfo32 metrics
description: Configure the system overview - msinfo32 metrics for Microsoft Endpoint Configuration Manager for Investigation \(MECM\).
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/it-service-management/service-operations-workspace/config-system-msinfo32-metrics.html
release: australia
product: Service Operations Workspace
classification: service-operations-workspace
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 2
breadcrumb: [Configuring CI metrics for MECM, Setting up Investigation Framework using Microsoft Endpoint Configuration Manager for Investigation, Setting up Investigation Framework in Service Operations Workspace, Setting up integrations in Service Operations Workspace for ITSM, Configuring Service Operations Workspace for ITSM, Service Operations Workspace for ITSM, IT Service Management]
---
# Configure system overview - msinfo32 metrics
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\]](https://support.servicenow.com/kb_view.do?sysparm_article=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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/service-operations-workspace/create-mecm-script.md).
3. Provide the following code in the script block.
```
Param(
[Parameter(Mandatory=$True)]
[string]$scriptName
)
$filePath = ".\" + $scriptName + ".txt";
#invoke msinfo32 and save data into file
msinfo32 /report $filePath;
```
4. Create an MECM script with the name `checkMsInfo32FileExist`.
For more information, see [Create a script in Microsoft Endpoint Configuration Manager](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/service-operations-workspace/create-mecm-script.md).
5. Provide the following code in the script block.
```
Param(
[Parameter(Mandatory=$True)]
[string]$scriptName
)
$filePath = ".\" + $scriptName + ".txt";
#check if file exist
$fileExist = Test-Path -Path $filePath;
#read msinfo32 data
if($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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/service-operations-workspace/create-mecm-script.md).
7. Provide the following code in the script block.
```
Param(
[Parameter(Mandatory=$True)]
[string]$scriptName
)
$filePath = ".\" + $scriptName + ".txt";
#check if file exist
$fileExist = Test-Path -Path $filePath;
#read msinfo32 data
if($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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/service-operations-workspace/config-ci-metrics-mecm-adapter.md)
| title | Configure system overview - msinfo32 metrics |
| description | Configure the system overview - msinfo32 metrics for Microsoft Endpoint Configuration Manager for Investigation \(MECM\). |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/it-service-management/service-operations-workspace/config-system-msinfo32-metrics.html |
| release | australia |
| product | Service Operations Workspace |
| classification | service-operations-workspace |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 2 |
| breadcrumb | Configuring CI metrics for MECMSetting up Investigation Framework using Microsoft Endpoint Configuration Manager for InvestigationSetting up Investigation Framework in Service Operations WorkspaceSetting up integrations in Service Operations Workspace for ITSMConfiguring Service Operations Workspace for ITSMService Operations Workspace for ITSMIT Service Management |