Author Posts

June 16, 2015 at 5:52 am

I'm seeing CDATA information in the code snippets, take a look at this post:

Read in a date and time from a string

June 16, 2015 at 7:19 am

Sorry, Rob. Perfect code formatting is hard when anyone can add code.

June 17, 2015 at 6:00 am

Just wanted to ensure it was known so that if it could be corrected an admin was aware of it. Thanks.

June 19, 2015 at 5:45 am

As a note, all that string concatenation isn't strictly necessary. PowerShell replaces variables with their values inside double quotes. Just makes reading the code a little easier.

The help says that -EmailAddresses accepts one object of the type ProxyAddressCollection. You're providing a single, comma-delimited string as a single value within a hash table.

One way to do this:

$foo = get-mailbox bsuneja
$foo.EmailAddresses += "bsuneja@e14labs.co","bharat.suneja@e14labs.com"
$foo | set-mailbox

June 19, 2015 at 5:46 am

Hmm. It's something about the @ sign in a PRE block. I might be able to filter it.

June 19, 2015 at 5:49 am

Ah. Yeah. This is WordPress trying to obfuscate the e-mail address and getting hung up in the code formatting.

June 19, 2015 at 6:22 am

This was a CloudFlare setting. It's adjusted; it'll take some time to actually start working.