PowerShell function: Get-HashFromString

Hi, everyone!

In a previous post, I built a function on how to get an MD5 hash from a file stored in memory.  I had a particular need this holiday season to compute a hash of a text input string, so I thought I would share my solution with you:

Function Get-HashFromString($String)
{
  $md5hash = New-Object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider
[ Continue reading ]

Update to Find-DuplicateValues script

Hey! As we enter the waning days of summer, I wanted to update a tool that I’ve had sitting around for a while.

Years ago, when I was in Microsoft Consulting Services, I ran into one particular customer that had manually populated the mail property of thousands of service accounts, groups, vendor accounts, and contacts–not with the object or user’s individual email address, but with the email address of the person who managed the AD object. … [ Continue reading ]

Migrated Disable-SkyplePlugin Tool

In order to help our customers (and their users) fully transition from Skype for Business to Microsoft Teams, I’ve updated the Disable-SkypePlugin script that I published back in 2020 and put it on the PowerShell Gallery.

As we encounter more and more customers still working remotely, helping enable them use the most modern tools (like Microsoft Teams) is critically important. … [ Continue reading ]

Exchange Function to Test MRSProxy Endpoint Authentication

This week, I was helping someone troubleshoot authentication issues when hybrid migration mailboxes to Exchange Online.

In order to migrate a mailbox successfully, the EWS endpoint virtual directory should have NTLM/Negotiate authentication method available.

You can quickly see what the endpoint is showing available by using this function:

Function Test-MigrationEndpointAuthentication($Url)
{
  # Build URL
  $Url = $Url.TrimEnd('.').TrimEnd('/').TrimEnd('.')
[ Continue reading ]