Back in 2011 I created a script that provided a group nesting report for on-premises AD groups using the Quest ActiveRoles cmdlets, you can find that here. However recently I needed … [Keep Reading]
Category: PowerShell
AAD Connect scheduled task with Weekend Fulls
Quite a long time ago, one of my customers expressed a need for a custom PowerShell script that could be run as a scheduled task that would allow them to run a … [Keep Reading]
AADCLoadBalancer Module
Quite a while ago I had a customer encounter issues with their AAD Connect primary node (they had a staging server, don’t worry) however the server wasn’t actually down, but it was … [Keep Reading]
PowerShell Credential Vault
I’ve always hated trying to store passwords for scheduled tasks and other automation in a TXT file with the standard ConvertTo-SecureString cmdlet for a couple of reasons….
Firstly, it’s not altogether that … [Keep Reading]
PowerShell Test-Transcription
Recently I needed a way to test if transcription was running, and sadly all the articles I found with my Bing searches provided methods that don’t work. Largely due, I suspect, to … [Keep Reading]
Testing AAD Connect Write-Back permissions on an OU
When installing and configuring AAD Connect with Exchange Hybrid and any of the other special features (Group Writeback, Password Writeback, Device Writeback), it’s necessary to delegate service account permissions in Active Directory … [Keep Reading]
Powershell, The Clipboard, and re-living the past …
One of my favorite Powershell features is the ability to export the output of pretty much anything to the clipboard using | clip
I've found that piping to clip is much easier … [Keep Reading]
Migrating OnPrem DLs to Cloud DLs
If you find that you need to migrate an onprem DL into a cloud DL, you can use the script below….
<#
.SYNOPSIS
This command converts a Federated DL to a … [Keep Reading]
Get-MSOLUserWithValidationError
I sometimes find that the validation error detail in the portal is less than helpful, and getting the verbiage from powershell can be a bit tricky, so I wrote the following Powershell … [Keep Reading]
Get-O365user.ps1 = MSOLuser and EXOUser and EXOMailUser or EXOUserMailbox attributes combined!
Have you ever been troubleshooting Exchange Online (EXO) and MSOnline (Azure) objects and wished there was a way to aggregate all the data together into a single object that you could manipulate … [Keep Reading]