PowerShell

Email Security Foundations #06 – DKIM: key rotation, third-party senders and troubleshooting

This post is part of the Email Security Foundations series on MSDigest.net. Rotating DKIM keys Key rotation is good practice. If a private key is ever compromised, rotating limits how long an attacker can use it. Exchange Online makes this easy. How to connect to Exchange Online using PowerShell to rotate the DKIM Keys. After rotation Exchange Online switches to the other selector automatically. The old selector stays valid for a while so messages already …

Read more

New Release of the Microsoft Defender for Office 365 Recommended Configuration Analyzer (ORCA) Module (version 2.5)

Microsoft has recently released a new and updated version (2.5) of the Microsoft Defender for Office 365 Recommended Configuration Analyzer (ORCA). What is Microsoft Defender for Office 365 Recommended Configuration Analyzer (ORCA) Office 365 Recommended Configuration Analyzer ORCA is a report that you can run in your environment which can highlight known configuration issues and improvements that can impact your experience with Microsoft Defender for Office 365 (formerly Office 365 Advanced Threat Protection). The ORCA …

Read more

Unable to install NuGet provider for PowerShell on Windows Server 2016

I recently had a case at a customer, where we saw an error and unable to install packages from the PowerShell Gallery on an Windows Server 2016. A little info on the background. In our scenario, it was during the install of the Microsoft Azure MFA extension for the Network Policy Server (NPS). As part of the configuration process for the Azure MFA Extension, it requires you to run the post install PowerShell script, that …

Read more

My PowerShell scripts are now available on GitHub

I have spent the last couple of months, moving all my scripts from TechNet Gallery to GitHub. I like the GitHub platform for sharing code and maintaining the versioning. In the community it has also become more common, that code is shared on GitHub and for collaboration and following the updates of specific scripts and code, I find the GitHub platform easier to use. I decided to follow along and have created a public GitHub repository …

Read more

How to Remote PowerShell into Exchange Online Protection (Office 365)

Microsoft has announced the long-awaited (at least for me) possibility to use PowerShell to do Remote Connection to Exchange Online Protection. I have previously blogged about doing Remote PowerShell session into Office 365 services, such as my post: How to Remote PowerShell into Exchange Online (Office 365). Remote PowerShell is great administrative interface since it enables you to manage your Microsoft Exchange Online Protection (EOP) settings directly from PowerShell. Examples of use could be: Setup …

Read more