Link to home
Start Free TrialLog in
Avatar of pcservne
pcservneFlag for United States of America

asked on

Exchange 2010 Rules Quota

I'm trying to increase the rules quota on Exchange 2010.  But when I run the command "Set-Mailbox username@domain.com -RulesQuota:256kb", I get the error "A parameter cannot be found that matches parameter name 'RulesQuota'".
Avatar of Systech Admin
Systech Admin
Flag of India image

did you try to run EMS as an administrator and then run the command?
Avatar of timgreen7077
timgreen7077

Try the below cmdlet. Basically you are just removing the ':'

set-mailbox "username" -rulesquota 256kb
Avatar of pcservne

ASKER

Yes, I am running AS administrator.
"set-mailbox "username" -rulesquota 256kb" gives the same error.
Run below ..

Set-mailbox -identity username -RulesQuota:256KB
are you running this in the exchange management shell or regular powershell?
"Set-mailbox -identity username -RulesQuota:256KB" gives the same error.
I am running the Exchange Management Shell.
when you type "set-mailbox username -rule" and hit tab, does it complete the rest for the -rulesquota"
share the screenshot of the error with commant which you arw running
First try to get the result using this command
get-Mailbox -Identity test | fl Name,rulesquota

Open in new window


if that works the above command provided will work. if not You have check your permission
Here is a screenshot of the command and error.
Capture.JPG
Running "get-Mailbox -Identity test | fl Name,rulesquota" runs OK, but then I still get the same error trying to increase the quota.  See the attached screenshot.
Capture.JPG
When I run "set-mailbox username -rule", hitting TAB does nothing.
Ok, then you may need to check your permissions. If it didn't complete. What are your permissions in your Exchange Environment?
What permissions do you want me to check?  I'm running as the domain administrator.  I've made no changes to any permissions.
do you have recipient management permissions and org management permissions.
You can check the RBAC rules in Exchange ECP
I don't know what you're asking me to check.  I only know the basics about Exchange 2010.  Sorry.
Do you have a lead Exchange admin or are you the only Exchange person?
Hi,

go to Active directory users and computers, find group named Organization Management and see if your domain admin account is member of that group. If it is not, then you most likely don't have permissions to run those commands.
Add your account to group, log out off exchange, log back in and then try to run command.

Regards,
Ivan.
I am the only "Exchange person".

I verified the domain administrator is a member of Organization Management.
If that is the case and you are running the exchange shell as the admin that has those permissions, then it should work. i don't have any other suggestions.
well it seems like yo have permission issues...
I believe you have to use the user's email address not just their alias:

Set-Mailbox username@domain.com -RulesQuota:256kb

See if that helps.
I've tried user@domain.com and get the same error.
I know this sounds like nit-picking, but try this: before you issue the command, do a "cd \" command so that you're sitting at the C:\ prompt instead of C:\Windows\System32. Believe it or not I have found with certain commands that it makes a difference!
Add yourself to the 'recipient management' role and see if that corrects this issue. this is really seems to be a permissions issue because the cmdlets are valid. you mentioned you were in the organizational management group. add yourself also the the 'recipient management' group.
Running the command from the root of C: gives the same error.
Was not a member of 'recipient management', but added domain administrator to it and still get the same error.
are you sure you are running these cmds with the correct user account?
Yes.  If I put in an invalid username I get a different error.
are you typing this cmdlet manually or are you doing a copy and paste. make sure there are no excessive spaces or anything. manually type out the cmdlets if you are not.
I've copy & pasted as well as typing it in manually.
type just the first parts of cmdlets and press tab so that it will auto complete and see what happens.

set-mail then press tab and it should complete.

Also -rulesq then press tab and it should auto complete
If you read above I've already tried the TAB thing.  It does not auto-complete the RulesQuota command.
ASKER CERTIFIED SOLUTION
Avatar of timgreen7077
timgreen7077

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
if its not completing , then its the permission issue with your account which you are using to manage mailboxes.

Can you share the roles assigned to your account ?
Nothing worked.  Still have the problem.