问题
there is a way to create/delete disk partitions via WMI ? I'm already able to mount/unmount virtual disks (vhd) and list their partitions.
回答1:
As far as I know, there is no way to create/delete partitions in WMI. You may want to look into the Shell Functions
来源:https://stackoverflow.com/questions/2456768/create-delete-disk-partitions-via-wmi