Solved

Exchange 2010

Posted on 2015-01-21
7
52 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
[X]
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
7 Comments
 
LVL 43

Expert Comment

by:Taurus
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
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
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 70

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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
In-place Upgrading Dirsync to Azure AD Connect
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

695 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