---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Remove from Device Collection activity

# Remove from Device Collection activity {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

The Remove from Device Collection activity removes a device from a Microsoft System
Center Configuration Manager (SCCM) device collection.
The Remove from Device Collection activity uses the [Powershell activity template](https://servicenow-prod.fluidtopics.net/SV5g3MJvrMeLhWdD7UG1VQ#t_CreateAPowershellActivity "Create a custom PowerShell activity return data to a workflow from a host using Microsoft PowerShell.")
to remove a device from a device collection on a Microsoft SCCM server. The activity is
configured to use a MID Server with Powershell capabilites and to run a MID Server script
called RemoveFromUserCollection.ps1 to edit the collection.

To access this activity in the Workflow Editor, select the Custom
tab, and then navigate to Custom ActivitiesSystem Center Configuration Manager (SCCM).

## Input variables

{#r_RemoveFmDevicCollectionActivity__table_q24_vkm_xs__entry__2}

| Variable | Description |
|-|-|
| sccmServer | The fully qualified domain name (FQDN) of the SCCM server. |
| collection | Name of the device collection. |
| device | Name of the device to add to the collection. |
[Tabelle : 1. Remove from Device Collection input variables]

{#r_RemoveFmDevicCollectionActivity__table_q24_vkm_xs}

## Output variables

{#r_RemoveFmDevicCollectionActivity__table_jzt_flm_xs__entry__2}

| Variable | Description |
|-|-|
| output | Variable that contains a value that is passed to other activities in the workflow |
| error | Variable that contains the activity output error message. |
[Tabelle : 2. Remove from Device Collection output variables]

{#r_RemoveFmDevicCollectionActivity__table_jzt_flm_xs}

## Conditions

{#r_RemoveFmDevicCollectionActivity__table_b2z_llm_xs__entry__2}

| Condition | Description |
|-|-|
| Success | Activity successfully removed the device from the SCCM device collection. |
| Failure | Activity failed to remove the device from the SCCM device collection. |
[Tabelle : 3. Remove from Device Collection conditions]

{#r_RemoveFmDevicCollectionActivity__table_b2z_llm_xs}

