Trying to find a variable for the current value of the $email array, which goes through the list of email addresses in the specified csv
$email = @()
Import-CSV C:\CSV\DisabledScholen1.csv | ForEach-Object {$email += $_.userprincipalname}
$email | ForEach-Object {Get-Mailbox -ResultSize Unlimited -Database GHA | Where {$_.PrimarySmtpAddress -like 'currentvalueofemail'} | Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | Select-Object DisplayName,TotalItemSize,ItemCount,StorageLimitStatus} | Export-CSV C:\CSV\pleasework1.csv
Duramaxster