Since Windows 7 doesn't have any built in space management in their backup utility, I'm looking to implement a scheduled script to delete any backups older than 1 month. There are 87 Windows 7 workstations that the script will be pushed out to. Currently the workstations have 2 internal hard drives. One SSD that their OS is running on and 2nd platter drive for storage and backup purposes. Full backups of the SSD drive are taken and stored on the platter drive which are just filling up and then the backups stop until you can manually delete the old backups.
Most systems have the OS on C: and the backups on D: but some systems have the backup on E: or even F:
I'm looking for a way to detect which drive letter is currently being used for the backup or even which drive letter has the 1TB hard drive to then go in and delete old backups from the drive.
Thanks