Category: Powershell

How to Audit Microsoft Defender Antivirus Exclusions with PowerShell and Identify Their Source 1

How to Audit Microsoft Defender Antivirus Exclusions with PowerShell and Identify Their Source

Microsoft Defender Antivirus is a cornerstone of endpoint protection, but exclusions—whether for performance, compatibility, or policy reasons—can introduce risk if not properly managed. As IT admins, we need visibility not just into what exclusions exist, but where they originate: local policy, Group Policy (GPO), Microsoft Endpoint Manager (Intune), or Configuration Manager (SCCM). In this post,
PowerShell Active Directory 2025 - Dark blue gradient with white PowerShell logo, AD tree, and padlock icon.

PowerShell Active Directory Management in 2025: The Definitive Guide

Mastering Active Directory with PowerShell Active Directory (AD) is the backbone of Windows networks, and PowerShell 7.4 is your heavy artillery for running it like a boss in 2025. This isn’t a one-trick CSV export pony—it’s your full-on AD domination manual, covering user creation, group juggling, bulk automation, security audits, and troubleshooting on Server 2022
PowerShell Disk Space Monitoring 2025 - Dark gray gradient background with white PowerShell logo, green disk icon, and Azure cloud icon

PowerShell Disk Space Monitoring in 2025: Local and Cloud

Monitor Disk Space with PowerShell in 2025 Tracking disk space is a timeless IT task, but in 2025, PowerShell 7.4 brings cross-platform power and cloud integration to the table. Whether you’re managing local servers or Azure VMs, this guide delivers a modern script to keep your drives in check. Local Disk Monitoring (Windows/Linux) Step 1:
How to Reset Windows Update Group Policy Settings 2

How to Reset Windows Update Group Policy Settings

If you’re transitioning away from Windows Server Update Services (WSUS) or need to troubleshoot Windows Update issues, resetting the Windows Update Group Policy Object (GPO) settings can be essential. Often, corruption in registry permissions can prevent expected changes from taking effect. This guide will walk you through the process of resetting these settings by removing
PowerShell Script to Browse and Export Active Directory Security Groups

PowerShell Script to Browse and Export Active Directory Security Groups

Managing Active Directory (AD) security groups is a core task for administrators. This PowerShell script provides a user-friendly way to browse AD security groups, display additional options, and export group details to a file. Before using the script, make sure you have the necessary prerequisites in place. Prerequisites To successfully run this script, ensure the
Export Active Directory User Information to CSV Using PowerShell

Export Active Directory User Information to CSV Using PowerShell

Introduction For administrators working with Active Directory, exporting user information to a CSV file can be a powerful way to gather and analyze data. Using PowerShell, you can perform an LDAP search to retrieve details such as usernames, email addresses, last logon times, and more. Here’s a PowerShell script that defines a search filter, specifies
Identifying Users Not in a Specific Active Directory Group with PowerShell

Identifying Users Not in a Specific Active Directory Group with PowerShell

Introduction Managing Active Directory (AD) groups is an essential task for IT administrators, especially in large organizations. Ensuring that users are in the correct security groups can be a time-consuming task. This blog post will walk you through a PowerShell script that automates the process of identifying users who are not members of a specific
Retrieve Installed Windows Updates with PowerShell

Retrieve Installed Windows Updates with PowerShell

If you want to find the full list of Windows Updates installed on your machine, you can use a PowerShell command. This method is particularly useful for operating systems like Windows Server Core, where graphical user interfaces might not be available. Using PowerShell to List Installed Windows Updates Command To retrieve a list of installed
Browsing and Exporting Active Directory Security Groups with PowerShell

Browsing and Exporting Active Directory Security Groups with PowerShell

Managing Active Directory (AD) security groups is a critical task for IT administrators. These groups play a significant role in managing permissions and access control within an organization. This blog post provides a detailed walkthrough of a PowerShell script designed to help you browse and export Active Directory security groups effectively. We’ll discuss the script’s