Get Disk Space

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9976
    doug
    Moderator

    The job queue only has a built-in option for C. If you wanted to get information about other disks/volumes, you would need to create a custom remote command (logged output). Once you have created/saved the command in BatchPatch it will appear in the list of available items in the job queue. You could use commands like these:

    WMIC PATH Win32_LogicalDisk where “drivetype=3” GET deviceid, volumename, freespace, size

    WMIC PATH Win32_LogicalDisk where “deviceid=’E:'” GET deviceid, volumename, freespace, size

    You can’t see the code behind actions in the job queue. You can, however, see various sample remote commands syntax under ‘Actions > Execute remote process/command > Create/modify’. The bottom part of that window has a list of various types of commands that you can use or modify for your own needs. You can also see a similar list here:

    how-to-hard-code-your-own-custom-commands-in-the-batchpatch-actions-menu

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.