Exchange PowerShell: How to get list of mailboxes, folders, subfolders, items in folder, foldersize programmatically?

One of my customer automated Exchange PowerShell with his .Net application. They had a requirement to enhance the functionality – to get the list of exchange mailboxes, folders and its sub folders, items in folder, foldersize. Finally it needs to be saved in .csv format.  To implement this, we used Get-Mailbox and Get-MailboxFolderStatistics Exchange cmdlets….


Exchange Server 2007, 2010: How to query user mailboxes, its permissions using Exchange PowerShell?

In Exchange Server 2007/2010, you can use Exchange PowerShell cmdlets (especially using Get-Mailbox, Get-MailboxPermission, Get-ADPermission, Get-MailboxFolderPermission) to get a verity of info. I played with couple of the below in different scenarios and want to share the same with you – so that you can give a shot and make use of. Scenario # 1:…


Outlook & VBA : Export contact information to Excel

Please find the following script that retrieves the FullName and BusinessTelephoneNumber properties for all the contacts in an Outlook address book:   1: On Error Resume Next 2:   3: Const olFolderContacts = 10 4:   5: Set objOutlook = CreateObject("Outlook.Application") 6: Set objNamespace = objOutlook.GetNamespace("MAPI") 7:   8: Set colContacts = objNamespace.GetDefaultFolder(olFolderContacts).Items 9:  …