0 votes

Is it possible to trigger an action 'after removing a member from a group' unless that member is a member of another group?

For example I have two security groups: 'DS Senders' and 'DS Viewers'.

I want to run a powershell script when an indirect member get's removed from 'DS Senders' but not if they are a member of 'DS Viewers', and vice versa.

by (250 points)
0

Hello,

when an indirect member get's removed from 'DS Senders'

What exactly do you mean by indirect member? Is it a member of a group nested in the DS Senders one?

and vice versa

What exactly do you mean? Could you, please, describe entire the desired workflow in all the possible details with live examples?

Please log in or register to answer this question.

Related questions

0 votes
1 answer

Hello I am trying to set up a script to copy the 'Members Of' from specific accounts to a new user account after creating the user. Something very similar to this: https:/ ... to the ever changing nature of the business. Is someone able to help me with this?

asked May 28, 2020 by adantona (40 points)
0 votes
1 answer

I have a scheduled task that runs a Powershell script against an AD group, "Group 1". I need to get all of the members of Group 1, and add them to Group 2. The ... identity in the error message start with 'user;'? What is the correct way to accomplish this?

asked Aug 27, 2019 by ngb (220 points)
0 votes
1 answer

We have several contractors that come and go, it would be helpful to have a custom command that will copy only the member of groups from one user to another. We have done this previously with ... ; write-warning "I'm sorry, Jay. I'm afraid I can't do that." }

asked Jan 9, 2017 by willy-wally (3.2k points)
0 votes
1 answer

We have a business rule that will update an AD attribute when a new member is added to a group. This business rule works when we use powershell commands or the admin console ... set to trigger "After adding a member to a group". Thank you for your support!

asked Mar 29, 2023 by mark.it.admin (2.3k points)
0 votes
1 answer

In most situations in Adaxes when multiple members are added or removed from a group the members are processed individually allowing business rules to run for each of them. ... a business rule to get information about the other members added with the cmdlet?

asked Mar 8 by Carl Bruinsma (120 points)
3,326 questions
3,025 answers
7,727 comments
544,678 users