Exchange 2007: Powershell script to get mailbox sizes

[System.Reflection.Assembly]::LoadWithPartialName(“System.Drawing”) [System.Reflection.Assembly]::LoadWithPartialName(“System.windows.forms”) $form = new-object System.Windows.Forms.form function processmailboxes(){ $fsTable.clear() get-mailbox -Server $snServerNameDrop.SelectedItem.ToString() -ResultSize Unlimited | ForEach-Object{ $siSIDToSearch = get-user $_.DisplayName