Extend Windows C: drive remotelly
A somersault with remote Powershell call using psexec.
psexec \\windows,host,ts powershell "Resize-Partition -DriveLetter c -Size `$(Get-PartitionSupportedSize -DriveLetter c).sizecode
Credits to: PowerTip: Use PowerShell 3.0 to Resize Partitions