Hello,
A request came in suggesting that a script should be written to insure that vApps on a given datacenter remain defragmented. Using Powershell, the script should, once per day (during the night), select a random vApp, mount all it's virtual disks, and defrag them all.
How can I go about doing this? I've read that using the disk manager that comes with VMWare Workstation (calling vmware-vdiskmanager) could possibly work, but AFAIK the datacenters that I need to take care of don't have it installed. I just need a way to execute an automated defragmentation command on each virtual disk, so manully defragmenting the disks through the guest OS is out of the question, I think.
Thanks in advance!