Mailbox Size based on group memberships
Hi !
the question is simple
we have some accepted domains and a database for each of them, but the company works as a whole and all of them are under one exchange organization.
assume each accepted domain as a company with a person at the head
now this is what i want
create a group in Active directory (all people are in the same domain) containing these people at the head and set their mailbox size at 100 MB (boss@companyA.com, boss@company2.com and .. - )
the second one may be easier ! create an active directory group in a database (all in companyA database - companyA accepted domain) and set a specific mailbox size for them
as you notice i do not want database or user level mailbox size policies. i like to do this based on some AD groups
Thanks so much
August 28th, 2012 5:49am
On Wed, 29 Aug 2012 04:58:46 +0000, M. Ganji wrote:
>$g = (get-group <groupname>).members
>foreach ($m in $g) {
>set-mailbox $m.distinguishedname <quota1> <quota2> <quota3>
>}
>
>Thanks but that is not working for me
>
>maybe i am not ok with the correct syntax of command
>
>i tested get.group <groupname> with all sort of arguments but not successful
It's get-group, not get.group.
What does "not successful" mean"? Does "get-group <groupname>" return
anything?
>assume the group name is test and we want to set it to warning:100 , prohibitsend:120 prohibitsendreceive:150
>
>would you please tell me the right syntax for this ?
Have you tried "help set-mailbox -det" and "help get-group -det"?
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2012 2:44pm
i do not find any parameter for members
please you test and give it to me
when i issue a command get-group groupname it returns the group as security group and all that
lets forget the main problem and focus on this
can you please give me an exchange command (shell) to return members of an AD group ?
get-group GroupName.members does not work
August 29th, 2012 3:48pm
On Wed, 29 Aug 2012 19:48:20 +0000, M. Ganji wrote:
>
>
>i do not find any parameter for members
>
>please you test and give it to me
>
>when i issue a command get-group groupname it returns the group as security group and all that
>
>lets forget the main problem and focus on this
>
>can you please give me an exchange command (shell) to return members of an AD group ?
>
>get-group GroupName.members does not work
Of course it doesn't -- you've omitted the parentheses that surround
the "(get-group <groupname>)" in my example.
Let's concentrate on you following the example, okay?
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2012 5:32pm