Microsoft Endpoint Configuration Manager

The Microsoft Endpoint Configuration Manager provides the overall Configuration Management (CM) infrastructure and environment to the product development team (formerly known as SCCM).

IT Services · Microsoft Endpoint Configuration Manager

Configuration parameters

  • ComputerName — ECM Server URL (e.g., 192.168.64.128) (required)
  • credentials — Username (i.e., DOMAIN\username) (required)
  • SiteCode — ECM Site Code (required)

Commands (19)

  • ms-ecm-collection-list

    Gets a Configuration Manager collection.

  • ms-ecm-device-collection-create

    Creates a Configuration Manager collection.

  • ms-ecm-device-collection-exclude

    Adds an exclude membership rule to one or more Configuration Manager device collections.

  • ms-ecm-device-collection-include

    Adds an include collections membership rule to a device collection.

  • ms-ecm-device-collection-members-add

    Adds a direct rule membership to a device collection.

  • ms-ecm-device-collection-members-by-query-add

    Adds a query membership rule to one or more Configuration Manager device collections.

  • ms-ecm-device-get-collection-member

    Gets a Configuration Manager device by querying the SMS_CM_RES_COLL_SMS00001 class. You can use the `ms-ecm-device-get-resource` or `ms-ecm-device-get-collection-member` commands to change the query class. Depending upon your role-based access in the site, you may need to use one of these other commands.

  • ms-ecm-device-get-resource

    Gets a Configuration Manager device by querying the SMS_R_System class. You can use the `ms-ecm-device-get-resource` or `ms-ecm-device-get-collection-member` commands to change the query class. Depending upon your role-based access in the site, you may need to use one of these other commands.

  • ms-ecm-device-list

    Lists a Configuration Manager device.

  • ms-ecm-get-user-device-affinity

    Gets the relationships between a device and its primary users.

  • ms-ecm-script-approve

    Approves a Configuration Manager PowerShell script.

  • ms-ecm-script-create

    Creates a new Powershell script.

  • ms-ecm-script-invocation-results

    Gets a script invocation results.

  • ms-ecm-script-invoke

    Invokes a script in the Configuration Manager.

  • ms-ecm-script-list

    Gets Configuration Manager PowerShell scripts.

  • ms-ecm-service-restart

    Restarts a service on a device or collection. (Implemented by creating and invoking the `XSOAR RestartService` script.)

  • ms-ecm-service-start

    Starts a service on a device or collection. (Implemented by creating and invoking the `XSOAR StartService` script.)

  • ms-ecm-service-stop

    Stops a service on a device or collection. (Implemented by creating and invoking the `XSOAR StopService` script.)

  • ms-ecm-user-last-log-on

    Gets the name of the last user who logged in to a given device.