Skip to main content
telnetport25.com
  • Blog
  • Archived Articles
    •  Exchange General
    •  Exchange 2003 Articles
    •  Exchange 2007 Articles
    •  Exchange 2010 Articles
    •  Exchange 2013 Articles
    •  Powershell
    •  VBScript
    • Programming
      • .NET C#
    •  Monitoring
    • Random Musings
  • Downloads
    •  Exchange 2003 Downloads
    •  Exchange 2007 Downloads
    •  Exchange 2010 Downloads
    •  Exchange 2013 Downloads
    •  Windows Downloads
  • Food
    • Breakfast
    • Main Courses
  • Contact
  • About
    •  About Andy
    •  Site Policies
    • Acknowledgements

Category: .NET C#

.Net programming samples in C#.

How to programmatically get all Mailbox Databases from Active Directory using C#…

May 19, 2013September 23, 2018 Andy Grogan 1 Comment

Ok, so I was thinking (which is always a very dangerous thing!) – after my last post on how you can programmatically count Mailboxes per Exchange Database – I was wondering how you can programmatically get a list of all Exchange Mailbox Databases in Active Directory via their distinguishedName. Why was I thinking this? – […]

Read More

Programmatically counting mailboxes in Mailbox Databases using C#…

May 18, 2013September 20, 2018 Andy Grogan Leave a comment

Ok, I know that the above is pretty easy using Powershell. In fact it is possible to also implement this using Automation Runspaces (again executing Powershell cmdlets from within the C# project) to achieve the same thing. But for a program that I am writing at the moment I needed to take a slight different […]

Read More

Quick Tip – Programmatically Returning all Distribution Groups in AD within a C# project…

April 7, 2012September 20, 2018 Andy Grogan 3 Comments

I am working on a new application at the moment which requires for all Distribution Groups within an Exchange 2010 environment to be populated into a Drop Down list on the default ASP.NET page, and then based upon the selected Distribution group place the SMTP addresses of each member of that group into a list […]

Read More

Quick Tip: Sending e-Mail to a Distribution list via C# in Exchange 2007 / 2010…

February 3, 2011September 20, 2018 Andy Grogan 1 Comment

I have been doing quite a bit of work with C# recently working on the new version of the OOOCTA tool. One of the features within the OOOCTA is for members of an Exchange distribution list to receive an e-mail when the OOF has been set on a particular mailbox. Now the most practical way […]

Read More

Quick Tip – C# Getting the DNS FQDN of your Active Directory Domain…

August 3, 2010September 20, 2018 Andy Grogan Leave a comment

Slightly off topic this one, but along the same line as my post here (about getting your Exchange Organization name using C''#) – this was something that has been driving me crazy. In essence I have been rewriting (for what now seems forever) my Exchange 2007 Segregation tool in C# using Visual Studio. One of […]

Read More

Quick Tip – Getting the name of your Exchange Organization using Visual Studio C#…

May 3, 2010September 20, 2018 Andy Grogan Leave a comment

Not a long post this time, but something that I wanted to share with you all. A number of you will know that, although I would not pretend to be a professional programmer (by any stretch of the imagination) – I do like to dabble. Over this weekend I have been looking at the Exchange […]

Read More

Search telnetport25.com

Interesting Reading

  • Alexander Zammit
  • Amit Tank
  • Nino Mota
  • Glen Scales
  • Oz Ozugrlu
  • Exchange Inbox
  • Microsoft Exchange Team
  • Microsoft O365 Blog
  • Practical 365
  • Learn Microsoft Exchange
  • Eight Two One
  • Steve Goodman All About 365
  • Tony Readmond
  • The Register

Follow me

  • LinkedIn
  • Facebook
  • Twitter
telnetport25.com
Do NOT follow this link or you will be banned from the site!