Script Dumpster: Clean-RedirectedRecycleBin

The problem

Redirected Folders on RDS Session hosts tend to cause a specific issue:

Each user’s set of Redirected Folders creates their own Recycle Bin entry, which can grow quite a bit.
The following function can display a list of files contained within the Recycle Bins older than the provided age.

Even better, the script has a switch parameter Remove which does exactly what you think it does đŸ™‚

Through a scheduled task you can run this script on a regular basis when required.

The Script



Script Dumpster: Find services running under non-standard accounts

The Problem

Looking for services which are running under NON-standard accounts?
Just use this script to display these services.

Very handy in case you need to change passwords for service accounts or want to see what services might be improperly configured [e.g. running under Administrator credentials, or worse, Domain Administrator credentials]

The Script



It’s been a while….

Hey guys and girls,

Unfortunately I haven’t really had much time to blog due to some busy times [work, work, work, family, friends, work], but I’ll try and update more regularly with the content I use at my daily tasks.

This might mean that I will also end up posting some non-PowerShell related posts in case I think they’re interesting enough for other people.
Judging by personal experience the last few weeks, I will also try and post some “checklists” which I found out for recent cases at work, simply by combining multiple articles and/or Best Practice guides.

While some of them might be “easy” and “surely you should know that by now”, I’ve experienced that people still have personal opinions on various matters which might contradict this.
For me posting them will be for personal reference and for whoever might be interested in the same thing without wanting to go through Google for a long time.

Besides that, I’ll try and keep my Script Dumpster posts up-to-date a bit more, as I tend to work on various scripts throughout the day.
On that note, check out the latest script and I’ll try and keep this blog a bit more up-to-date.