Powershell

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 […]

Use Powershell to download the latest offline definition updates for Microsoft Forefront Client Security, Microsoft Forefront Endpoint Protection 2010 and Microsoft System Center 2012 Endpoint Protection

Use Powershell to download the latest offline definition updates for Microsoft Forefront Client Security, Microsoft Forefront Endpoint Protection 2010 and Microsoft System Center 2012 Endpoint Protection

This post will show you how to download the latest anti-malware definition updates for Microsoft Forefront Client Security, Microsoft Forefront Endpoint Protection 2010 and Microsoft System Center 2012 Endpoint Protection using Powershell commands. Step by Step Guide Windows x86 (32-bit) To download the definition updates files for 32-bit (x86-based) versions of Windows, run the following […]

How to Disable IPv6 on all Network Connections

How to Disable IPv6 on all Network Connections

Depending on your environment, you may want to disable IPv6 on all networking connections, including wired and wireless connections. To do this, you can use a simple PowerShell script: Once you have run this script, you can go ahead and check the IPv6 settings on the target machine and you should see that it is […]

Add or Remove Multiple Application Deployments in SCCM using Powershell

Add or Remove Multiple Application Deployments in SCCM using Powershell

Problem Scenario When using SCCM, you may find that you want to either add or remove application deployments based on what administrative categories each application has assigned. As an example, we had a number of applications for the Marketing department that were only distributed to a Marketing collection we had set up with only Marketing […]

Remove Windows Server Disabled Roles and Features Payload Files

Remove Windows Server Disabled Roles and Features Payload Files

If you are running a Windows Server environment and you are becoming increasing low on system drive space, then you may want to consider removing the built in payload files for Windows Features. Windows Server comes with the payload files readily available if you want to add any additional Features or Roles to your server. […]

Exchange Shell – All Permissions on all Mailboxes

Exchange Shell – All Permissions on all Mailboxes

We carried out a project recently which was to migrate around 150 mailboxes to the Office 365 (Exchange Online) platform. Part of scope of works that was required was to provide the team leaders within the business a list of all the mailboxes and what permissions they had on them. This was mostly a housekeeping […]

Get OU Distinguished Name

Get OU Distinguished Name

There are many reasons as to why you would need to identify an Active Directory Organisational Unit’s Distinguished Name. Most techies out there will use an AD distinguished name when writing or using PowerShell scripts. However, quickly finding what the Distinguished name of a particular OU is not immediately clear. You can click on the […]

Scroll to top