In the tables that follow, we document all the command line operations that PDCmd.exe can understand, and explain what they do. Any or all of the PDCmd operations can take the \\ComputerName argument, where you target the operation at a specific Windows machine using part of its universal naming convention (UNC) name. This is the same name that appears in the System item in Control Panel as part of the Computer name (Windows 7, Vista, Server 2008) or Full computer name (XP, Server 2003, earlier versions) entry.
The available PerfectDisk commands and their usage are explained below:
Show status of all drives.
PDCmd /st [/c <computer-name>]
PDCmd /dol|/sp|/cfs /alldrives|<drive1> <drive2>... [/w] [/c <computer-name>]
Where:
/dol - Defragment only
/sp - SMARTPlacement
/cfs - Consolidate free space
/alldrives - perform compaction of all drives
/w - wait until operation completes
PDCmd /of /alldrives|<drive1> <drive2>... /all|[ /d][ /s][ /p] [/w] [/c <computer-name>]
Where:
/all - defrag directories, system files and paging file
/d - defrag directories
/s - defrag system files
/p - defrag paging file
PDCmd /df <file1> [<file2> ...] [/c <computer-name>]
PDCmd /an /alldrives|<drive1> <drive2>... [/w] [/c <computer-name>]
PDCmd /sta|/sto|/stf /alldrives|<drive1> <drive2>... [/c <computer-name>]
Where:
/sta - statistic of analyze pass
/sto - statistic of online defrag pass
/stf - statistic of offline defrag pass
PDCmd /stop /alldrives|<drive1> <drive2>... [/c <computer-name>]
PDCmd /sb /alldrives|<drive1> <drive2>... [/c <computer-name>]
PDCmd /cb /alldrives|<drive1> <drive2>... [/c <computer-name>]
PDCmd /rs <schedule-name> [/c <computer-name>]
PDCmd /id <drive> <id> [/c <computer-name>]
Where:
<drive> - drive letter
<id> - NTFS file ID
PDCmd /fs /alldrives|<drive1> <drive2>... [/c <computer-name>]
PDCmd /si
PDCmd /?
Related Topics
§ Running PerfectDisk from the Command Line
§ Accessing PerfectDisk CLI Tool (PDCMD.exe) to Run PerfectDisk Commands