I just tried the script that shows the defragmentation level on a Windows 7 64b. It failed.
The term 'Optimize-Volume' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Program Files\Pulseway\automation_2174ba8a_0411_4575_b589_d5ff035323da.ps 1:1 char:16 + Optimize-Volume <<<< $pwd.drive.name -Analyze -verbos + CategoryInfo : ObjectNotFound: (Optimize-Volume:String) [], Com mandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
0
Exit Code