System Center Operations Manager Invalid Management Group Removal

We recently carried out some work for a client who had a completely ruined installation of System Center Operations Manager (SCOM). Who had done what to it, we may never know, but it was clear that the only fix was to start again. This was not such a bad thing as they did want to change the name of their …

System Center Operations Manager Invalid Management Group Removal Read More

Exchange Shell – Get all Shared Mailboxes Information

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 and enter this command: Get-mailbox …

Exchange Shell – Get all Shared Mailboxes Information Read More

Exchange Shell – Export all shared mailbox permissions to CSV

Sometimes as IT professionals, we get asked to supply a lot of data to company bosses. This can be extremely frustrating especially when what you want to do is fix stuff, but IT is becoming more and more like an admin role all the time. It doesn’t mean you stop fixing stuff, it just means you have to carry out …

Exchange Shell – Export all shared mailbox permissions to CSV Read More

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

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 box and run the following …

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

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

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 Exchange. This meant that we …

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

Exchange Shell – Get all shared mailboxes with primary SMTP

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 will go through your Exchange …

Exchange Shell – Get all shared mailboxes with primary SMTP Read More

Import Active Directory Powershell Module

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 has completed, then run the …

Import Active Directory Powershell Module Read More

Start a stopped service on multiple devices using 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 the list of device names …

Start a stopped service on multiple devices using Powershell Read More

Restart a service on multiple devices using 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. Powershell Script This simple Powershell …

Restart a service on multiple devices using Powershell Read More

Enable Windows Remote Desktop Protocol and Set Firewall Rules using 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, one to enable Remote Desktop …

Enable Windows Remote Desktop Protocol and Set Firewall Rules using PowerShell Read More

SCSM – Deleting Individual Items

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 Service Manager server. Once this …

SCSM – Deleting Individual Items Read More