PowerShell – Exporting a List of Azure AD Users

From time to time you’ve likely been asked to perform some sort of export of users from AAD, a task that’s not made particularly simple via the portal which lacks any sort of export option.

Luckily, with PowerShell this is made quite simple.

Continue reading “PowerShell – Exporting a List of Azure AD Users”

Powershell – Error Logging Module

This is my new blog to discuss various things that don’t fit into SPandCRM.com. I’ll be posting various things from PowerShell clips, exam study notes and pretty much anything else I feel like doing a write-up on.

We quite often use PowerShell scripts in scheduled tasks and the likes to carry out automated maintenance, backups etc as many people do. But how do you handle when things go wrong?

This small script aims to solve that by allowing logging and email notifications to be easily set up in any PowerShell script. Simply drop it in at the top and follow the instructions to enable easy logging of your scripts.

Continue reading “Powershell – Error Logging Module”