Disk Defragmentation

This Automation Manager object defragments the specified drive.

Privileges

Normal

Input Parameters

Name Type Required Description
Drive String Yes The name of the drive to defragment.
Force Boolean Yes A check box indicating if the defrag should be forced.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Drive String Yes C:
Force Boolean Yes Optionally wait for the Disk Defragmentation to complete before executing any subsequent Automation Objects that may be included in the Automation Policy.