Hi<o:p></o:p>
I am trying
to create a PowerShell Script that will return all users in the organisation
that have a mailbox over a certain size<o:p></o:p>
then loop
through each one outputting the folder size to a csv file for review, this is
what I have but I am getting an error when I run the for each statement stating
the operation cannot be performed on @user name<o:p></o:p>
any help
greatly appreciated thanks<o:p></o:p>
$mailboxname
$mailboxname
=Get-Mailbox-ResultSizeUnlimited|Get-MailboxStatistics|where{$_.TotalItemSize-gt6000mb}|Select-ObjectDisplayName
foreach
($mailboxnamein$mailboxname)
{
Get-MailboxFolderStatistics
-identity$mailboxname-FolderScopeALL|FTIdentity,foldersize,ItemsInFolder-wrap>C:\stats.csv
}