0 votes

I would like to grab all users in a US state and add them with full access rights to a shared mailbox.

Is there a script already in the repository for this? I checked but couldn't find one that fit.

I am trying to do the following

Run a scheduled task>If state = KY THEN run script to add each user.

I don't think there is any way to do this with the interface.

Thanks!

by (740 points)

1 Answer

0 votes
by (299k points)

Hello,

You can use this script in a scheduled task like below. In this case, you will not need to gather delegates in the script. image.png

If it is a one-time process, you can just find all the required users and execute a custom command with the script on them.

Related questions

0 votes
0 answers

Hi, I'm currently working with setting up a new Adaxes solution for a customer at my company. The customer needs a solution that can add a security group with full ... help me out here :-) That would be greatly appreciated. Best Regards, Kristoffer Høie.

asked Jun 29, 2016 by krihoie (20 points)
0 votes
1 answer

Hi Everyone I want to create a custom command where I can select multiple users and then select a mailbox and give them full access to the mailbox. Is there a way to do it? Thank you for help

asked Nov 2, 2021 by Sandberg94 (340 points)
0 votes
1 answer

Is is possiable to send Automate an email to go out to the users of a delegated mailbox? We give Full Access and Send As access of disabled accounts to thier replacements for 30days ... then send a email to each one of them? Adaxes version: 2017.2 3.8.14823.0

asked Oct 28, 2019 by hgletifer (1.3k points)
0 votes
1 answer

how to automatically grant a user's manager access to their network drive and onedrive during a user's deprovisioning. I don't want to manually grant access to the ... -prem file server and onedrive. Can this be incorporated in the user deprovisioning script?

asked Jan 28 by Fausat (20 points)
0 votes
1 answer

Ive developed a powershellscript that is able to add this functionality, feel free to improve or use. Iv'e used the msExchExtensionCustomAttribute3 and then renamed the attribute in Adaxes to " ... + ": " + $SamId.SamAccountName, "Information") } else{} } } }

asked Dec 4, 2012 by nevarion (20 points)
3,648 questions
3,336 answers
8,432 comments
548,983 users