---
sourceDocument: Australia IT Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/it-service-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia IT Service Management

ft:clusterId :

    - itsm

bundleId :

    - itsm

workflow :

    - Technology


---

# Create a script in Microsoft Endpoint Configuration Manager

# Create a script in Microsoft Endpoint Configuration Manager {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Create a script in the Microsoft Endpoint Configuration Manager to configure the
display of the processes metrics on the Investigation tab of the
Incident record.

## Before you begin

The Microsoft Endpoint Configuration Manager server must be logged in using the
Microsoft Remote Desktop.

Role required: admin

## Procedure

1. Open the Microsoft Endpoint Configuration Manager.
2. On the Microsoft Endpoint Configuration Manager, select Software Library.
3. On the Software Library section, select Scripts and click Create Script.  
   Alternatively, you can also right-click Scripts and select Create Script.
4. Specify Script name.
5. Add the script on the script field (block).  
6. Click Next.
7. Click Next \& Close.  
   A script record is created with Approval State as Waiting for Approval.
8. Select the script record.
9. Select the Approve/Deny option and then click Approve to approve the script.  
   Alternatively, you can also right-click on the created script record and select the Approve/Deny option and then click Approve.
10. Get the script GUID.
    1. Open power shell console using Connect via Windows PowerShell ISE.  
    2. Get the script GUID by running the command `Get-CMScript
       -ScriptName 'GetProcess' | Select ScriptGuid`.  
    {#create-mecm-script__substeps_djk_dqk_2wb}

