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 (288k 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
0 answers

Hi All, I have setup an action to cancel all meetings in outlook when a user is leaving. We use Exchange online but I'm getting an error 'The operation is supported by Exchange online and Exchange versions starting from 2019' I cant see where you specify.

asked Sep 6 by DarrenFisk (60 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)
3,541 questions
3,232 answers
8,225 comments
547,802 users