PowerShell

Outlook prompts for credentials with Exchange 2010 and 2013/2016 coexistence

Notice: This post does not contain any pictures. They were all lost during the import from my old Gonjer.com site. I do apologize for that but I hope that the post will still help. For some time ago I stumbled upon a strange credential prompt in Outlook for an entire organization after changing the Autodiscover […]

Outlook prompts for credentials with Exchange 2010 and 2013/2016 coexistence Read More »

New-CsOnlineSession returns (404) Not Found

For some time ago I was in the process of setting up a Hybrid “Skype for Business Online” and “Lync 2013 On-oprem” environment. When it was time to activate the Lync-federation with the New-CsOnlineSession cmdlet I got rejected with a (404) Not Found

I received the following output: VERBOSE: Determining domain to admin VERBOSE:

New-CsOnlineSession returns (404) Not Found Read More »

Powershell 4.0 – Try/Catch Exchange 2010 Bug?

I’ve been struggling some time now on why Powershell 4.0 are unable to “Catch” terminating errors when using Exchange 2010 Cmdlets. When using a standard “Set-Mailbox” with Erroraction set to Stop using Powershell 3.0 the terminating error is validated by the “Try/Catch”-block:

Error with Set-Mailbox When we use Powershell 4.0 with the same “Try/Catch”-block

Powershell 4.0 – Try/Catch Exchange 2010 Bug? Read More »