Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Exchange 2010

Posted on 2015-01-21
7
47 Views
Last Modified: 2015-02-23
We are considering creating AD security groups and then adding them into Exchange to manage Quota's. We have a few questions: How does this affect the local setting for the person in the management console? Is the option to set persons quota individually grayed out? If more is defined in the console, does that take precedence over what is defined in AD security groups? Any other problems encountered? Pros and cons?
0
Comment
Question by:colmisdiv
7 Comments
 
LVL 42

Expert Comment

by:Amit
ID: 40562543
Where you read security group option? As far as I know, you can set at db level or mailbox level.
0
 

Author Comment

by:colmisdiv
ID: 40575010
Here is a script I found. I want it to reflect a 250MB quota with a warning at 200MB. Not sure what the numbers should be.

Get-ADGroupMember "Exchange Quota 5GB" | select @{l="identity";e={$_.distinguishedname}} | Get-user| set-mailbox -IssueWarningQuota 4864000000  -ProhibitSendQuota 5017600000 -ProhibitSendReceiveQuota 5242880000 -UseDatabaseQuotaDefaults $false
0
 

Author Comment

by:colmisdiv
ID: 40575342
Tried this script and didn't work:
Get-ADGroupMember "GroupMail_100MB" | select @{l="identity";e={$_.distinguishedname}} | Get-user
| set-mailbox -IssueWarningQuota 80000000  -ProhibitSendQuota 100000000 -ProhibitSendReceiveQuota 100000000 -UseDatabaseQuotaDefaults $false

Error below:

The term 'Get-ADGroupMember' is not recognized as the name of a cmdlet, function, script file, or operable program. Che
ck the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:18
+ Get-ADGroupMember <<<<  "GroupMail_100MB" | select @{l="identity";e={$_.distinguishedname}} | Get-user
    + CategoryInfo          : ObjectNotFound: (Get-ADGroupMember:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 167 total points
ID: 40576831
You cannot manage quotas with groups.

The only thing that you can use groups for is to have a group of users that you apply quotas to - ie the command takes the members of the group, applies an individual setting to them. Unless you run a script on a schedule to keep changing/setting the quota, it is a one time thing. Changing the group membership will not change the quota.

Quotas are only set at the database or mailbox level, as already stated. Nowhere else. Even if you set them at the database level the settings are still available within the user account to be set individually.

Simon.
0
 
LVL 69

Assisted Solution

by:Qlemo
Qlemo earned 167 total points
ID: 40576987
The ActiveDirectory module needs to be imported into PowerShell prior to using its cmdlets, at least with PS 2 (3+ should import automatically).
0
 
LVL 18

Assisted Solution

by:irweazelwallis
irweazelwallis earned 166 total points
ID: 40588151
as simon says you can't manage like that with the powershell you have import the ad management cmdlets and then add a for each loop in there. you could manage it this way with a scheduled task
haven't tested this but it should be pretty close to something that will work

import-module Activedirectory
$mbxgroups = Get-ADGroupMember "GroupMail_100MB" | select @{l="identity";e={$_.distinguishedname}}
 Foreach ($user in $mbxgroups) { set-mailbox -IssueWarningQuota 80000000  -ProhibitSendQuota 100000000 -ProhibitSendReceiveQuota 100000000 -UseDatabaseQuotaDefaults $false}
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
Read this checklist to learn more about the 15 things you should never include in an email signature.
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question