It’s a dirty job but someone has to do it

Well here is just more of the same, Stephen posted about querying an item to see whether it’s “dirty” or not.  Here is the .NET equivalent. I didn’t actually test these this time so your feedback is welcome. Visual Basic Public Function IsItemDirty(ByVal itm As Object) As Boolean   Dim typeDispatch As Type = itm.GetType()   Dim…

0

Now you see me, now you don’t

My colleague Stephen Griffin recently blogged about how to show or hide the Sender Contact Photo feature in Outlook.  Since he only supplied the C++ version the product team asked me to supply the .NET version.  [Edit: 2/10/2014:  It has come to my attention that the code below will only work for Outlook 2010.  Support…

0

Managing Outlook Security Settings

I got a question today about if one could set the Outlook Security Settings programmatically instead of requiring the user to go through the dialog in the Outlook UI.  The answer is Yes, and the article below describes how to do it: How to Assign an S/MIME Certificate to a MAPI Profile for Use with Outlook…

0

Attention all managed debuggers – PSSCOR2 has been released!

PSSCOR2 has been released to the public!  I have been using this tool for years and I cannot describe what my job would be without it.  If you are using Windbg to analyze hang and crashes in managed code, then this tool is for you.  Check out Tom’s post below: http://blogs.msdn.com/tom/archive/2010/03/29/new-debugger-extension-for-net-psscor2-released.aspx  

0

Local Runspaces are not supported in Exchange 2010

First, let’s define what a Local Runspace is and how that differs from the one you would use for Exchange 2010.  A Local Runspace is a runspace configured to load the local Exchange Powershell snapin via the RunspaceConfiguration object.  This was the standard type of Runspace created when automating Powershell with .NET in Exchange 2007. The runspace…

0

How to use Windows Authentication with the PSCredential class

Since posting the Remote Powershell sample I have had many people ask me how to make a connection to a remote endpoint using Windows Authentication instead of suppling a username and password as my sample demonstrates. I have changed the sample so that it looks for the presence of a username and password and if none…

0