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

 

twitterredditlinkedinmail

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

 

twitterredditlinkedinmail

Script Dumpster: Find default AD containers for Users and Computers

The Problem

Have you ever created a new user or computer object, but you’re unable to find them in the Default Computers/Users container?
Perhaps someone moved the default location to another Organizational Unit [i.e. to make sure GPO’s applied correctly] .

In this case a quick and simple script will check which containers are configured for this task and it will check if they’re using default values or not.

The Script

 

 

twitterredditlinkedinmail