Powershell script to get mailbox attribute details.
Is it possible to get all the mailbox object attribute details in the below format. Mailbox Type msExchHomeServerName mDBStorageQuota mDBOverQuotaLimit mDBOverHardQuotaLimit Ahmed Ali
July 25th, 2012 9:32pm

Thanks Manu. Tried the above powershell script. It is running but giving blank output. Please advice.Ahmed Ali
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2012 9:51pm

Hi, These are not coming under the attributes of a mailbox while you try get-mailbox. This requires a query to run to fetch the AD attributes..Regards from www.windowsadmin.info | www.blog.windowsadmin.info
July 25th, 2012 10:06pm

Hi, These are not coming under the attributes of a mailbox while you try get-mailbox. This requires a query to run to fetch the AD attributes..Regards from www.windowsadmin.info | www.blog.windowsadmin.info
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2012 10:15pm

Will try to query AD attributes using ADFIND. If u have any handly cmdlet or script plz share.Ahmed Ali
July 25th, 2012 10:17pm

Hi I am getting the output using Shell cmdlet. Get-ADUser -Filter {EmailAddress -like "*"} -properties samaccountname |select samaccountname,legacyexchangedn,msExchHomeServerName,mDBStorageQuota,mDBOverQuotaLimit,mDBOverHardQuotaLimit,mDBUseDefaults Just want to confirm how to get the mailbox type using the cmdlet.Ahmed Ali
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2012 10:38pm

I dont have Get-ADUser command but i think you can try recipienttype parameter or you can use Get-Mailbox command to get the recipienttype. Get-ADUser -Filter {EmailAddress -like "*"} -properties samaccountname |select @{label="MailboxType";expression={(Get-Mailbox $_.emailaddress).recipienttypedetails)},samaccountname,legacyexchangedn,msExchHomeServerName,mDBStorageQuota,mDBOverQuotaLimit,mDBOverHardQuotaLimit,mDBUseDefaults
July 26th, 2012 4:19am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics