wmi - How to extend volume using powershell? -
how extend volume using powershell (i prefer wmi on powershell remoting) on remote computer ?
os win xp sp3.
i ended somethin this:
invoke-command -computername $compname -credential $compcred -scriptblock {"rescan","select volume 2","extend" | diskpart}
i'm still looking better solution, if there one.
Comments
Post a Comment