0 votes

I am looking for a way to ensure that a custom command can only be run is an user account is more than 30 minute old.

Ideally I would like the command to be hidden for that account. But the operation can also be canceled if the AD account is less than 30 minutes old.

We need this check because of sync timings.

Thanks, Allistair

by (170 points)

1 Answer

0 votes
by (272k points)

Hello Allistair,

Yes, it is possible. You can use the following action set as first in the custom command configuration. image.png If an account is created less than 30 minutes ago, the entire command execution will be cancelled.

0

Thank you for the fast answer, it works now.

Related questions

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

Occationally Service Desk staff need to clear a DNS record when a desktop has been reimaged but is keeping the same name as loses the ability to manage its original DNS ... running in ADAXES. Can I just install the applet on the ADAXES server using powershell?

asked Jan 17, 2023 by stevehalvorson (110 points)
0 votes
1 answer

I would like to add a parameter for country to a custom command. Since the country has to be entered correctly in order for Active Directory to accept it, I would like to ... ? I didn't find it in the documentation and the sample scripts didn't use parameters.

asked Jun 4, 2020 by mark.it.admin (2.3k points)
0 votes
1 answer

We have a 3rd party vendor that we are able to add users based on AD security groups. What I need to do is set a parameter for the number of available licenses and whenever ... the group is 495 I would like an email to trigger telling me to add more licenses.

asked Oct 12, 2022 by A_Pastor (70 points)
0 votes
1 answer

I have an ADP Sync scheduled task that modifies and creates users from a csv file. I also have reports that show new users created and management history for user ... ADP Sync scheduled task so that they only run after the ADP Sync task is complete?

asked Jan 7, 2020 by barberk (60 points)
3,355 questions
3,054 answers
7,799 comments
545,155 users