Skip to content

Category: PowerShell

Creating a Golden Image for Azure Virtual Desktop: A Step-by-Step Guide

Creating a Golden Image for Azure Virtual Desktop: A Step-by-Step Guide Setting up Azure Virtual Desktop (AVD) can be a game-changer for IT management, allowing you to deliver a secure, consistent desktop experience to users anywhere. At the core of a streamlined AVD deployment is the golden image—a template virtual machine (VM) configured with everything…

Leave a Comment

Resolving Unexpected Windows 11 Multi-Session License Key Changes in Azure Virtual Desktop with PowerShell Automation

Resolving Unexpected Windows 11 Multi-Session License Key Changes in Azure Virtual Desktop with PowerShell Automation I recently encountered a unique issue within my Azure Virtual Desktop (AVD) environment running Windows 11 Enterprise Multi-Session. This problem specifically arose in the EASTUS region, where the product key on some session hosts unexpectedly changed from Windows 11 Enterprise…

Leave a Comment

Guide to Setting up Azure File Share and Connecting via Private Endpoint

Guide to Setting up Azure File Share and Connecting via Private Endpoint Azure File Share is a managed file storage service in the cloud that provides the ability to mount file shares across your network or connect to them securely via private endpoints. Connecting through a private endpoint ensures that your data remains within your…

Leave a Comment

Securing Microsoft Teams: Disabling Teams Channel Email Addresses

Securing Microsoft Teams: Disabling Teams Channel Email Addresses Microsoft Teams offers the feature of Teams channel email addresses, allowing users to email content directly to a Teams channel. However, this feature can pose security risks if not managed carefully. Why Disable Teams Channel Email Addresses? The email addresses associated with Teams channels are not within…

Leave a Comment

Efficiently Copy Entra ID Device Group Members with PowerShell

Efficiently Copy Entra ID Device Group Members with PowerShell The Copy-EntraIDDeviceGroupMembers.ps1 script is designed to make your life easier by automating the process of copying members between Entra ID device groups. This script prompts you for the names of the source and destination groups, retrieves all members from the source group, and adds them to…

Leave a Comment

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