I’d like to add an on demand PS task to a ‘Disk Usage’ perspective for a Logical Disk so that it shows what the largest files and folders are on that disk. I’ve had a good scour round for a suitable script, but not found anything quite right (or that I could get to work 😀).

Has anyone done something similar that they could share, or can point me to a handy repository of scripts?

Peter Aston selected answer