amku03
asked on
Powershell to identify users with mailbox quota size greater than 512 MB
We have exchange 2007 Sp1
I want to pull out the names of the users who do not have default mailbox quota set for their accounts. In oother words have a custom mailbox quota set.
Can this be done via powershell??
I want to pull out the names of the users who do not have default mailbox quota set for their accounts. In oother words have a custom mailbox quota set.
Can this be done via powershell??
get-mailbox | ?{ $_.UseDatabaseQuotaDefault s -ne "true"}
Sorry I meant:
Get-Mailbox | Where {$_.UseDatabaseQuotaDefaul ts -eq $False} | Select Name, UseDatabaseQuotaDefaults
Get-Mailbox | Where {$_.UseDatabaseQuotaDefaul
Akhater - that is a nice short command...
MegaNuk3 thank you but you beat me to it :)
Or export to CSV:
get-mailbox | Where {$_.UseDatabaseQuotaDefaul ts -eq $False} | select name, *quota | sort name | export-csv Quotas.csv
get-mailbox | Where {$_.UseDatabaseQuotaDefaul
ASKER
I thisnk we woul dalso need parametr for Resultsize
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@akhater - u at least typed UseDatabaseQuotaDefaults whereas my first post was wrong, I posted UseDatabaseRetentionDefaul ts
ASKER
Akhater, your command gives more detailed result and MegaNuk3 your gives result but not teh size details.
Akhater I am gonna award you points for this one for a better shell command and also to make for yesterday's question :)
Cheers!!
Akhater I am gonna award you points for this one for a better shell command and also to make for yesterday's question :)
Cheers!!
thanks a lot for the consideration but I do believe a split is more than fair here.
Cheers
Cheers
no worries, Akhater is far better at PowerShell than me...
ASKER
Not sure how to do that
Get-Mailbox | Where {$_.UseDatabaseRetentionDe