Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store

Remove from User Collection activity

Remove from User Collection activity

The Remove from User Collection activity removes a user from a Microsoft System Center Configuration Manager (SCCM) user collection.

The Remove from User Collection activity uses the PowerShell activity designer template to access a user collection on a Microsoft SCCM target host. 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 Activities > System Center Configuration Manager (SCCM) .

Input variables

Table 1. Remove from User Collection input variables
Variable Description
sccmServer The fully qualified domain name (FQDN) of the SCCM server.
collection Name of the user collection.
user Name of the user to add to the collection.

Output variables

Table 2. Remove from User Collection output variables
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.


Table 3. Remove from User Collection conditions
Condition Description
Success Activity successfully removed the user from the SCCM user collection.
Failure Activity failed to remove the user from the SCCM user collection.

This site is scheduled for a small content update on Tuesday, December 18th, between the hours of 4:00pm and 8:00pm Pacific Time (Dec 19 00:00 – Dec 19 4:00 UTC). Access to this site may be slightly delayed during that time.