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

Controlling Autodiscovery for Outlook using Group Policy

outlook blue logo

We have recently been working on a Microsoft Office 365 email migration from on-premise to cloud based Exchange. One of the challenges that we faced was making the migration process as painless as possible for the end user. However, with thousands of end users having Microsoft Outlook 2010 installed and already configured to work with … 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

How to create correct partitions to deploy a Windows image to a UEFI based device

microsoft black logo

We have recently come across an issue when trying to deploy a test virtual machine using Hyper-V (Generation 2 – UEFI) that once you have selected your task sequence, you get an error and the task sequence bombs out. This is because we had not setup the correct drive partitions to be able to deploy … 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