Office 365 – SKUID Service Plan Identifiers / Product Name Cheat Sheet

Spent some time tidying up the list available at for my own use in some PowerShell scripts so thought it may be of use to others.

Continue reading “Office 365 – SKUID Service Plan Identifiers / Product Name Cheat Sheet”
Advertisements

Active Directory – How to Generate a Group Membership Report

Another small one today, the script below will generate a nice csv export of every single group and it’s active user membership from Active Directory. The next step would likely be to turn it into a nice Pivot Table for reviewing.

It should be fairly straightforward to change it to show all users or all users & computers etc as required.

Continue reading “Active Directory – How to Generate a Group Membership Report”

Data Protection Manager (DPM) – Scheduled Jobs Fail to Run

This is one of the most frustrating issues to come across as DPM will happily tell you it’s working perfectly fine unless you notice your most recent backup time doesn’t quite look right, especially as most of the time you’re going to spot this when you need to do a restore. But all is not lost, let’s get on to fixing it.

Continue reading “Data Protection Manager (DPM) – Scheduled Jobs Fail to Run”

DPM could not execute a WMI query. The query either returned an error or an empty result – Error 33507

So I recently came across this issue after rolling out Trend to a new Data Protection Manager (DPM) instance whereby I couldn’t create new protection groups as it was generating the following error –

Create protection group: ###### System failed:
Error 33507: DPM could not execute a WMI query. The query either returned an error or an empty result.
Recommended action: Retry the operation.

Luckily it proved to be a fairly simple issue to resolve.

Continue reading “DPM could not execute a WMI query. The query either returned an error or an empty result – Error 33507”

Microsoft Teams – How to Generate an Easy Report of all Users & Teams

I’ve recently had a requirement to allow us to generate a report of all the users in our Microsoft Teams teams because as often seems to be the case it’s all grown a little organically and now we need to get it under control. The first step to any process like this though is to find out the current status of your systems and for this you need to be able to easily report on it.

This article will cover a brief script using PowerShell that will export all Teams and Users in those teams along with relevant details into a nice CSV which you can easily process to produce reports.

Continue reading “Microsoft Teams – How to Generate an Easy Report of all Users & Teams”

Microsoft Data Protection Manager (DPM) – How to Remove Old Backups (PowerShell)

So Microsoft DPM software is a pretty decent backup solution, but it does have a nasty tendency to not remove old backups correctly even if retention policies are set. This can happen for a multitude of reasons that I won’t go into.

This article is going to very quickly go over how you can remove backups outside of a certain time frame.

Continue reading “Microsoft Data Protection Manager (DPM) – How to Remove Old Backups (PowerShell)”