Quato
Hello,
I am using Exchange 2007 and I would need to get from a list of users' "DisplayName" their mailboxes quota, like:
USER1 300 Mo
USER2 400 Mo
USER3 300 MO
USER4 500 MO
etc
Anyone could help me out with that??
May 17th, 2010 1:22pm
Hello,
I am using Exchange 2007 and I would need to get from a list of users' "DisplayName" their mailboxes quota, like:
USER1 300 Mo
USER2 400 Mo
USER3 300 MO
USER4 500 MO
etc
Anyone could help me out with that??
get-mailbox -ResultSize Unlimited |FT DisplayName,ProhibitSendReceiveQuota
OR
get-mailbox -ResultSize Unlimited |FT DisplayName,@{label="Quota(MB)";expression={$_. ProhibitSendReceiveQuota.ToMB()} }
Regards,
Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM)
www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
May 17th, 2010 1:40pm
Thanks, In fact I already have the list, so I would need the shell command to be based on the "displayname" list (use the content).
I have tried the second shell command you gave me thougt and get the below error message:
Unexpected token '.' in expression or statement.
At line:1 char:86
+ get-mailbox -ResultSize Unlimited |FT DisplayName,@{label="Quota(MB)";expression={$_. <<<< ProhibitSendReceiveQuota.
ToMB()} }
Can you help me please
May 17th, 2010 1:53pm
A space was there in the command "$_. ProhibitSendReceiveQuota"
and I also forgot to put .Value befor .ToMB(), so now check it.
get-mailbox -ResultSize Unlimited |FT DisplayName,@{label="Quota(MB)";expression={$_.ProhibitSendReceiveQuota.Value.ToMB()} }
Regards,
Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM)
www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
May 17th, 2010 2:20pm
I used get-mailbox -ResultSize Unlimited |FT DisplayName,@{label="Quota(MB)";expression={$_.ProhibitSendQuota.Value.ToMB()} }
Because we don't use the
ProhibitSendReceiveQuota but it worked great.
Thanks
May 17th, 2010 3:34pm