I'm using the script from http://gallery.technet.microsoft.com/scriptcenter/da3fee00-e79d-482b-91f2-7c729c38068f
First, the get-wmiobject cmdlet missing the class. Added win32_logicaldisk and that cleared the error.
Second: it outputs nothing and I see nothing in the script about output. Admittedly I'm quite new to PS so am doing a certain amount of stumbling.
Is it supposed to write to the screen? How do I capture the output to a file?