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

powershell

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

Exchange 2013 1

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

Import Active Directory Powershell Module

powershell

If you want to use Active Directory modules for Powershell then you can will need to run the commands to import the required module and then install the RSAT tools. To do this, open up an elevated Powershell command box and run the following command to import the Server Manager module: Import-Module ServerManager Once that … Read more

Start a stopped service on multiple devices using Powershell

powershell

Following on from our recent guide about restarting a service on multiple devices, we were also asked about starting a stopped service using a similar method. This is pretty simple and can be carried out in almost exactly the same way. Powershell Script So to carry this out, you should create a txt file with … Read more

Restart a service on multiple devices using Powershell

powershell

We recently had a requirement to restart a single service on multiple devices across a single network. At first, it was going to be the job of the helpdesk to logon to each device and manually restart this service. However, as usual, there is always a way of using Powershell to speed up such tasks. … Read more

Enable Windows Remote Desktop Protocol and Set Firewall Rules using PowerShell

powershell

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

SCSM – Deleting Individual Items

System Center

When using System Center Service Manager (SCSM) you can sometimes end up with Incidents, Change Management items or Service Requests that need to be deleted individually. You an carry this out by using a combination of SMLets and PowerShell. INSTRUCTIONS The first thing you will need to do is to download and install SMLets on your … Read more

WSUS Powershell Cleanup Tool

powershell

The WSUS PowerShell Cleanup Tool provides a comprehensive automated cleanup solution for Windows Server Update Services. Remove obsolete updates, free up disk space and maintain WSUS performance with this PowerShell utility. Requirements Windows Server with WSUS installed PowerShell 5.1 or later WSUS Administrator rights How to Download Watch our video guide on how to download … Read more

Inject Windows Updates into WIM Image Files Using PowerShell

Inject Windows Updates into WIM Image Files Using PowerShell

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

Windows Update Injection Powershell Script

Microsoft Blue Logo

The Windows Update Injection PowerShell Script automates the process of injecting Windows Updates into WIM image files for offline servicing. Keep your Windows deployment images up to date without rebuilding from scratch. Requirements Windows 10, Windows 11 or Windows Server PowerShell 5.1 or later Windows ADK installed Administrator rights For full instructions see our guide: … Read more