Skip to content

Category: PowerShell

A Guide to Executing Test-MdiReadiness.ps1

A Guide to Executing Test-MdiReadiness.ps1 In today’s rapidly evolving cybersecurity landscape, ensuring your environment’s readiness for advanced protection solutions is crucial. Microsoft’s Test-MdiReadiness.ps1 script is a powerful tool designed by the Microsoft Team to streamline the deployment of Microsoft Defender for Identity (MDI). This script provides a thorough pre-deployment check, assessing your domain, domain controllers,…

Leave a Comment

How to Automate Guest Account UserType Updates in Microsoft Entra with PowerShell

Managing guest user accounts in Microsoft Entra (formerly Azure Active Directory) is a critical aspect of maintaining the security and functionality of your organization’s tenant. Guest accounts often require specific permissions that differ from those of regular users, and sometimes, it becomes necessary to elevate these permissions by changing the account type from Guest to…

Leave a Comment

How to Deploy a PowerShell Script via Intune to Remove AnyDesk from Devices

How to Deploy a PowerShell Script via Intune to Remove AnyDesk from Devices In light of recent security concerns, it’s become increasingly important for IT administrators to be able to quickly respond and mitigate potential threats. One such measure could involve the removal of potentially compromised software, like AnyDesk, from all managed devices. This blog…

Leave a Comment

Streamlining Azure Lab Deployment with PowerShell

As a cloud enthusiast, I’ve crafted a PowerShell script that serves as a cornerstone for anyone looking to establish a dynamic lab environment in Azure. This script is not just a tool; it’s a gateway to a realm where testing, learning, and experimentation happen seamlessly. Hosted on GitHub within the “DeathStarScriptHub” repository, this script automates…

Leave a Comment

Automating Azure Storage and File Share Creation with PowerShell

Automating Azure Storage and File Share Creation with PowerShell In the realm of cloud services, automation is key to efficient resource management and deployment. In this post, we’ll delve into a PowerShell script designed to streamline the creation of Azure Storage Accounts and File Shares, complete with a specified quota. This script is particularly useful…

Leave a Comment

Prevent Microsoft Teams Meeting recording from expiring.

Prevent Microsoft Teams Meeting recording from expiring. Recently Microsoft introduced a new feature which will expire Microsoft Teams Meeting recordings. All new recordings will auto expire in 60 days after the recorded and no action was taken. Admins in the organization will have to update these policies if they want retain recordings for longer of…

Leave a Comment

Microsoft Compliance Configuration Analyzer

Microsoft Compliance Configuration Analyzer In this short post, we will look at MCCA (Microsoft Compliance Configuration Analyzer). MCCA is a PowerShell-based tool that exports your current Microsoft 365Complaince configuration and validates them against Microsoft 365’s recommended best practices. Some of the controls which forms part of the best practices include regulations and standards for data…

Leave a Comment

How to Unblock a User if they were blocked from sending emails in Microsoft 365

How to Unblock a User if they were blocked from sending emails Microsoft 365 Users in your organization might get blocked from sending emails in Microsoft 365 if they exceed one of the outbound sending limits or inbound spam policies. If a user is added to the restricted user list, they will receive the following…

1 Comment

Exchange TIP: How to Migrate Mailbox from Exchange Online to Exchange OnPrem

Exchange TIP: How to Migrate Mailbox from Exchange Online to Exchange OnPrem In this quick post, I will go through a quick PowerShell I use to migrate a mailbox from Exchange Online back to Exchange Onprem. Let’s first start by connecting to Exchange Online PowerShell. Once connected run the following: Before we can run the…

Leave a Comment