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.
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.
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.
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.