Skip to Content

Category Archives: PowerShell


The state of Azure AD PowerShell today

Written on March 28, 2019 at 5:27 PM, by

Currently, there’s four Windows PowerShell modules to manage settings and objects in Microsoft’s Azure Active Directory: MSOnline AzureAD AzureADPreview AzureAD.Standard.Preview   MSOnline The MSOnline Module, with its *-MSOL* cmdlets, was the first Windows PowerShell Module for Azure Active Directory. It started life as a PowerShell Module to manage all Microsoft Online Services, hence the name. […]

Practical PowerShell Exchange Server 2016 aka Writing a book

Written on March 29, 2017 at 9:03 AM, by

Some of you may have wondered why I was somewhat quiet. The reason was that during the last year (and a half?) I was writing a book with MVP Damian Scoles. That book is now available as an PDF and Apple iBook! The physical paperback is now also available in our shop and includes a […]

Getting to know the colleagues using Azure Multi-Factor Authentication

Written on January 25, 2017 at 9:51 AM, by

On this blog, and in several other places, I’ve shared my experiences with Azure Multi-Factor Authentication. While this information meanly focuses on the on-premises Azure Multi-Factor Authentication Server, I did encounter the occasional implementation of the cloud-based Azure Multi-Factor Authentication. For one such implementation, I had the pleasure of migrating it from the cloud to […]

Why the Azure Active Directory Windows PowerShell Module is good news

Written on August 22, 2016 at 4:31 PM, by

Last week, Microsoft announced a new preview version of the Azure Active Directory Windows PowerShell Module. This is good news! Let me tell you why.   About the Azure AD PowerShell Module Using the Azure Active Directory Windows PowerShell Module, Azure AD Admins can manage several aspects of Azure Active Directory for their organizations and/or […]

Knowledgebase: How to check if your Azure Active Directory Tenant has a DirSync or AADSync installation syncing to it

Written on June 3, 2015 at 6:34 PM, by

Today, I ran into an issue, where the people I was talking to couldn’t tell me if their Azure Active Directory tenant had one or more Directory Synchronization Tool (DirSync) or Azure Active Directory Sync Tool (AADSync) installations associated with it. Additionally, these people showed me an Azure Active Directory Sync Tool (AADSync) installation, but […]

KnowledgeBase: Install-ADCSCertificationAuthority fails without a network adapter present

Written on May 21, 2015 at 12:29 PM, by

An issue has been identified in situations where you would configure a Windows Server installation as an Offline Root Certification Authority (CA). The Install-ADCSCertificationAuthority Windows PowerShell Cmdlet would error out, while you could achieve the scenario without problems using the Graphical User Interface (GUI).    The situation In multi-tier Public Key Infrastructure (PKI) implementations, you […]

Using the new Active Directory PowerShell Cmdlets on down-level and module-less systems

Written on December 29, 2014 at 7:48 PM, by

Last week, we discussed the new Active Directory Domain Services-related PowerShell Cmdlets in Windows Server 2012 R2. In the requirements I mentioned that you needed at least one system with the Windows Server 2012 R2 or Windows 8.1 version of the Active Directory Module for Windows PowerShell feature installed. However, as Aleksandar Nikolic (PowerShell MVP) […]

New features in Active Directory Domain Services in Windows Server 2012 R2, Part 4: PowerShell Cmdlets

Written on December 24, 2014 at 7:23 AM, by

Managing an on-premises Active Directory Domain Services infrastructure through the Graphical User Interface (GUI) can get daunting. And boring. Luckily, for most repetitive tasks you can resort to the command line, or in more recent versions of Windows Server to PowerShell. Windows Server 2012 already comes equipped with PowerShell Cmdlets to manage your Active Directory […]

Security Thoughts: Passwords in Group Policy Preferences (CVE-2014-1812)

Written on May 23, 2014 at 11:36 AM, by

Last week, Microsoft released Security Bulletin MS04-025, including guidance and an update that resolves a publicly disclosed vulnerability in Microsoft Windows. The vulnerability could allow elevation of privilege if Active Directory Group Policy preferences are used to distribute passwords across the domain – a practice that could allow an attacker to retrieve and decrypt the […]

When you lose a bet…

Written on March 14, 2014 at 8:00 AM, by

People who know me, know me as a guy who likes to motivate people with random bets. It’s not intrinsic motivation, but it’s the kind of motivation that gets things done. A few weeks ago, I made a bet with a couple of colleagues. These colleagues were competing in the Winter 2014 worldwide PowerShell Scripting […]