Tag Archives: Powershell

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

By | April 17, 2023

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… Read More »

Export Powershell to CSV

By | April 17, 2023

To export PowerShell to CSV file, you can use the Export-Csv cmdlet. Here’s an example: This command gets a list of all running processes, selects the process name, ID, and CPU usage, and sorts the list by CPU usage in descending order. This command exports the data to a CSV file named “processes.csv” in the… Read More »

Add or Remove Multiple Application Deployments in SCCM using Powershell

By | April 1, 2023

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… Read More »

Remove Windows Server Disabled Roles and Features Payload Files

By | March 30, 2023

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.… Read More »

Get OU Distinguished Name

By | April 17, 2023

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… Read More »

Exchange Shell – Get all Shared Mailboxes Information

By | April 1, 2023

Following on from our previous post about how IT professionals can use the tools available to them to make their lives easier, we have another Exchange Management Shell (EMS) script which will get all the information available from all Shared Mailboxes including the sizes of each mailbox. Guide Open up the Exchange Management Script tool… Read More »

Powershell – Export Active Directory User Last logged on information to CSV

By | January 6, 2024

If you want to export all your Active Directory users last logged on information, you can carry this out using Powershell and then exporting to CSV format. Guide First of all, you will need to import the ActiveDirectory module if you have not already done so. To do this, just open up a Powershell command… Read More »

Powershell – Export all members of all AD Security Groups to CSV

By | April 1, 2023

Powershell is an awesome tool and can help IT professionals in gathering information in a split second whereas otherwise it could take hours manually. We were recently asked to carry out a number of tasks for information gathering for annual housekeeping. The tasks were varied but were made up of information from Active Directory and… Read More »

Exchange Shell – Get all shared mailboxes with primary SMTP

By | March 30, 2023

We recently received a request to provide a project manager with a full list of all shared mailboxes with their primary SMTP addresses that were in Microsoft Exchange. To do this is a pretty straight forward task using Exchange Management Shell (EMS). Just go ahead and open your EMS and run the following command: This… Read More »

Enable Windows Remote Desktop Protocol and Set Firewall Rules using PowerShell

By | April 17, 2023

If you are using Windows Server 2012 or newer, or if you are just using Windows Server Core, then this Powershell script will help you out by enabling Remote Desktop and setting the correct firewall inbound rules. Simply open up an elevated Powershell command box, or use Powershell ISE and use the two scripts below,… Read More »

WSUS Powershell Cleanup Tool

By | July 11, 2020

Download To download, simply scroll down towards the bottom of this page and you will see the options for this download. Ensure you select the correct one and click the blue Download button as detailed below: Free Subscription If you want to be notified when we post more quality guides like this one, sign up… Read More »

Inject Windows Updates into WIM Image Files Using PowerShell

By | July 16, 2023

To inject Windows Updates into custom-built images that you are using in your Configuration Manager OSD environment, you may find that keeping them up to date is a real problem. If you are happy with the image itself and do not want to make any changes to it, why should you need to rebuild and… Read More »