Remotely extend a partition using WMI
问题 I'm trying to use PowerShell and WMI to remotely extend a C drive partition on Windows VMs running on VMware. These VM do not have WinRM enabled and that's not an option. What I'm trying to do is an equivalent of remotely managing an Active Directory computer object in an AD console to extend a partition, but in PowerShell. I'v already managed to pull partition informations through Win32 WMI objects but not yet the extension part. Does anyone know how to max out a C partition on a drive like