0 votes

We have AD groups that manage what VLAN a user's system is associated with based on the user's department. I have custom command to change the PC group membership if the computer in AD attribute msTSPrimaryDesktop is updated. The computer management takes the old PC (if there was one), removes it from any VLAN groups and changes the description of the PC to be one of a number of statuses selected by the admin (Ready for deployment, retired, needs rebuilding etc) it then taked the new PC and adds it to the appropriate VLAN AD groups. However, I cannot figure out how to trigger the computer custom command from a user based business rule. (I cannot select the command) is there a way to work around this?

by (130 points)

1 Answer

0 votes
by (299k points)

Hello,

The only option is to use a script in a business rule triggering After updating a user. The script should bind to the required computer and perform the necessary actions (e.g. execute a custom command). For examples on how to execute custom commands using PowerShell scripts, see https://adaxes.com/sdk/SampleScripts.ExecutingCustomCommands.

Related questions

0 votes
1 answer

We currently have a form for HR to deal with ex-employees that are hired once more, but it's not much more than automatic emails sent to IT. If I add some actions ... this trigger the business rule we have that targets "After updating a user" ? Thanks, Louis

asked Oct 18, 2022 by lw.fa (150 points)
0 votes
1 answer

I have a Rule-Based group with users. Every time a users gets added or removed from this group I want to trigger a Business Rule for "Atter adding or removing a member ... Rules be triggered by a Rule-Based group adding or removing a user? Morten A. Steien

asked Mar 27, 2023 by Morten A. Steien (300 points)
0 votes
1 answer

Hello, I am attempting to configure a business rule that adjusts an adaxes custom property of a user, upon that user being added/removed from a group. I cannot seem to ... (like username, office, description, email, etc.) but not so much on custom attributes.

asked Jul 14, 2023 by NKB#2772 (70 points)
0 votes
1 answer

My scheduled task currently: Checks for staff in a particular OU that do not have an O365 license Adds a license Resets their AD Password Moves them to an OU based off ... scheduled task moves them out of the OU that the business rule is looking at. Thanks

asked Apr 15, 2020 by russmerriman (40 points)
0 votes
1 answer

Is it possible to trigger an event when a user logs in for the first time? We would like to setup a process that sends the user an email shortly after they login for the first time.

asked May 24, 2019 by ggallaway (300 points)
3,648 questions
3,336 answers
8,432 comments
548,983 users