Executive Summary: Using RecycleBinInfo.vbs, you can find out how much disk space is being used by the Recycle Bins stored in a server's Recycler folder. This VBScript script also demonstrates how to use ActiveX Data Objects (ADO) disconnected recordsets to create a temporary XML database, how to use Windows Management Instrumentation (WMI) to access computer information, and how to programmatically create and write to Excel spreadsheets. |
You might not know it, but Recycle Bins could be taking up a considerable amount of space on your Windows servers. This might not be a concern on newer beefed-up servers built with 10GB to 12GB OS partitions. However, if you have older servers with 4GB OS partitions for instance, regaining even a few hundred megabytes of space could be the difference between a functional system and an unstable one. Even if you have a lot of space on your servers, you probably don’t want to leave Recycle Bins full of deleted files, especially if the files might contain sensitive information (e.g., administrators', executives', managers', or HR staff members' Recycle Bins). . . .