Skip to content

Category: PowerShell

Enabling Defender for Cloud at the Resource Level with PowerShell

Enabling Defender for Cloud at the Resource Level with PowerShell Efficiently managing Azure resources can be challenging, especially in large environments. To help with this, I’ve developed a PowerShell script designed to automate the process of managing Defender for Cloud pricing configurations across various Azure resources, including Virtual Machines (VMs), Virtual Machine Scale Sets (VMSS),…

Leave a Comment

Enhanced Security in Microsoft Teams: New Controls to Block External Access in Trial-Only Tenants

Enhanced Security in Microsoft Teams: New Controls to Block External Access in Trial-Only Tenants Overview Microsoft Teams continues to evolve with enhanced security measures to safeguard communications. A significant update is on the horizon that introduces a new admin control aimed at strengthening defenses against malicious activities through Teams trial-only tenants. Starting from July 29,…

Leave a Comment

Enhancing Email Security with the “SecureMailBannerInjector” PowerShell Script

Enhancing Email Security with the “SecureMailBannerInjector” PowerShell Script Introduction In an era where cybersecurity threats are continually evolving, organizations must proactively defend their communication channels. Email, a critical business tool, is often exploited by attackers to deploy phishing scams, spread malware, or execute social engineering attacks. To address these risks, I’ve developed a PowerShell script,…

Leave a Comment

Streamlining High Volume Email Management in Microsoft 365 with PowerShell

Streamlining High Volume Email Management in Microsoft 365 with PowerShell I developed the HVEAccountManager.ps1 script to streamline the administration of High Volume Email (HVE) accounts in Microsoft Exchange Online. This script harnesses the capabilities of automation to ease this process, offering a straightforward and effective tool for HVE account management. It exemplifies how automation can…

Leave a Comment

Simplifying Microsoft 365 Admin Role Audits with a PowerShell Script

Simplifying Microsoft 365 Admin Role Audits with a PowerShell Script In the world of Microsoft 365 administration, knowing who holds what admin roles is key for security. I’ve created a PowerShell script that makes auditing these roles straightforward and efficient. Using Microsoft Graph, the script fetches all admin roles within your Microsoft 365 environment and…

Leave a Comment

Effortlessly Retrieve Your Microsoft Tenant ID with PowerShell and Microsoft Graph

Effortlessly Retrieve Your Microsoft Tenant ID with PowerShell and Microsoft Graph In the dynamic world of IT and cloud services, the Microsoft Tenant ID plays a pivotal role, especially for administrators and developers working with Microsoft 365 and Azure services. It acts as a unique identifier for your organization’s tenant in Microsoft’s cloud platform, essential…

Leave a Comment

Streamlining User Management with the EntraExternalToInternalSwitch PowerShell Script

Entra ID User Management with the EntraExternalToInternalConverter PowerShell Script In today’s rapidly evolving digital landscape, where mergers, acquisitions, and organizational restructuring have become the norm, the ability to efficiently manage user identities is more critical than ever. Microsoft’s Entra, a cornerstone of modern identity and access management, has introduced functionalities that significantly ease the complexities…

Leave a Comment

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