Send Authenticated SMTP with PowerShell

Today, while I was testing out some transport rules, I wanted to send a bunch of test messages to make sure they were firing correctly.  I wanted to create some custom messages and be able to automate them, and I wanted to use an outside relay service that requires SMTP authentication. It took a good…

0

Trapping your favorite exceptions

Like most folks, I hate errors. As a scripter, I hate seeing blood on the screen–to me, it means failure that I didn’t anticipate.  When you’re trying to put tools out there for other folks to use, nothing toasts your peer’s or customer’s confidence like a tool that doesn’t fix itself or errors out without…

0

Create realistic lab users

In testing out some of my other tools over the last few weeks, I’ve found it necessary to create a some test users.  A lot of test users.  Not a normal “a lot,” either.  I needed hundreds of thousands at a minimum, a million if possible, as fully fleshed-out can be.  I needed some with…

3

Update to the “Migrate EOP Settings” Tool

A little over a year and a half ago, I started working on a tool for a really large Office 365 / BPOS-Dedicated migration to Office 365 Government Community Cloud.  As part of that migration, I wrote this tool: Migrating EOP Settings Between Tenants.  Today, while working with a customer, we discovered that it wasn’t handling…

0

Update to the “Find Duplicate Address” tool

Last week, I saw some internal discussion about trying to locate the source of a duplicate object error on-premises.  While an advanced administrator will be able to figure it out by looking at the Connector Spaces for connected directories, it’s not necessarily obvious to a lot of people (especially if you’re not experienced with our…

2

Using “Restore-RecoverableItems”, or “how I saved my own bacon”

Since the dawn of time (or at least, since the dawn of the Epoch), people have been inadvertently deleting stuff.  As is attributed to Uncle Ben, “with great power comes great responsibility,” and so it is true with the system administrator.  The ability to delete an email is insignificant next to the power of the…

0

Updated Tool Roundup!

Over the last couple of days, I’ve updated a few tools that I have published on the gallery.  Here’s the run-down: AAD Connect Network and Name Resolution Test I’ve been busy with this tool a lot lately, both adding tests and tweaking the way things are done.  This week, I did work with Seamless SSO…

0

Export Exchange Online Client Access Report

So, imagine this: The security team comes to you and asks you for a report on how people are accessing Exchange Online services–browser, mobile, Outlook client.  In the olden days of Exchange on-premises, you could look at the IIS logs to check browser traffic.  It’s not quite the same in Exchange Online, since you don’t…

0

Clearing Skype Cached data

Last year, I had a project that involved migrating a large customer from Office 365 Dedicated to Office 365 GCC (multi-tenant).  While Exchange hybrid moves were possible for the mailboxes, we were unable to perform the necessary hybrid migration configuration for Lync to migrate users.  While Lync was configured and available, not many end users…

0

Create an array object with columns from text inside a script or Convert a Here-String to an array with column headings

So, I had an interesting need the other day when creating another script–I wanted to create a collection of object that were of the same type, but had different values for the properties.  In this case, the objects happened to be registry keys and values that was going to report on, and (optionally) take a series…

1