0 votes

Is there a way to deprovision both a user and their computer account in 1 command? It looks like you can either do a user or computer but not both unless you use a script.

I would like to disable the user and move the object and disable their computer and move the object

by (480 points)

1 Answer

0 votes
by (289k points)
selected by
Best answer

Hello Derek,

Yes, you are right, to disable a user and the computer associated with the user in a single Custom Command you will need to use a PowerShell script. The command will look like the following:

If you need help with the script, please, specify how exactly computers are associated with user accounts. Any additional details will be much appreciated.

Related questions

0 votes
1 answer

Hello, I'm trying to create a business rule that will update a user account expiry date when that user logs in for the first time. I'm new to Adaxes, so I don't have a ... updated by a user's action, such as "Last Logon". Is it possible to make this work?

asked Mar 6 by sjjb2024 (60 points)
0 votes
1 answer

I am unsure how to deal with this because of how Adaxes treats one identity account as two different objects, an AD and AzureAD user account, and both has different last logon values. What is a good way to combine the data?

asked Apr 22 by Daniel (160 points)
0 votes
1 answer

How can i différenciante the two user without opening each one of them ?

asked Jan 20, 2023 by eric.lebrun (20 points)
0 votes
1 answer

the user account is a generic account users login but after some minutes the account will lock as if they have entered an incorrect password three times we have to unclock it all the time

asked May 4, 2023 by abubakarrk.sesay (50 points)
0 votes
1 answer

We're using a powershell command to delete computer accounts from the domain. This works fine but even though it works, on refresh, the page shows ... ) Remove-AdmComputer -Identity "%cn%" -server $domainName -AdaxesService localhost -Confirm:$False

asked Feb 2, 2018 by VTPatsFan (610 points)
3,549 questions
3,240 answers
8,232 comments
547,814 users