Script to update users’ UPN to their email address

When using AAD Connect with Office 365 the general accepted best practice is to use a publicly routable UserPrincipalName attribute in your on-premises Active Directory rather than using AlternateLoginID. I run across the this at lots of customers and have written a script that can be used at any customer to reset UPNs for all … More Script to update users’ UPN to their email address

How To: Connect PowerShell to Exchange Online/Skype for Business Online

To start out the new year I thought I would return to something a little more basic but I always need to refer back to when building a new machine for myself or if I lose my PowerShell Profile (read more about those here). Connecting to Exchange Online and/or Skype for Business Online PowerShell. I … More How To: Connect PowerShell to Exchange Online/Skype for Business Online

Opening Documents with a File Explorer window using PowerShell

Do you find yourself working in PowerShell or running scripts and needing to open/import a document (normally CSVs) a lot, and realising you have a long string of a file path to type in to get to the file? Wouldn’t it be useful if you could bring up the File Explorer window to get to … More Opening Documents with a File Explorer window using PowerShell

Quick Tip – Querying Licensed Users in Office 365

Hi all, we have been asked the question quite a lot recently about how to retrieve a list of users after a migration who have a mailbox but no license, something that needs to be remediated before the 30 Day grace period expires. This can be achieved with a single line of PowerShell once connected … More Quick Tip – Querying Licensed Users in Office 365

Quick Tip – Find List of Users Created in Last Week – Exchange Online

Just a quick post today, had a requirement to get a list of users created in the last day and the last week for a customer in Exchange Online. This can be done via simple one liner as follows: get-mailbox -Filter {whencreated -gt “6/30/2015”} NOTE: Even if you look at an individual’s mailbox and it … More Quick Tip – Find List of Users Created in Last Week – Exchange Online

Changing the default subscription – Microsoft Azure PowerShell

I had a great day at Microsoft in London today learning a bit more about the potential of Microsoft Azure for IaaS, PaaS and SaaS. There is no better place to be if you hit a snag than with the experts themselves. We were all stumped for a short while when confronted with being unable … More Changing the default subscription – Microsoft Azure PowerShell

Quick Tip – Find users with specific email domain using PowerShell

Do you ever find yourself needing to find users with a specific email domain in Exchange but find yourself battling the correct syntax with the filter command, or waiting ages for it to get through all your objects using the Where-Object command? The following one-liner quickly produces a list of users who’s primary email address … More Quick Tip – Find users with specific email domain using PowerShell