I've been trying to find a way to extend a storage volume using powershell v2.
So far I've just writen it so that powershell automates using diskpart.exe but when i try to execute it throws me a Error saying no disk or volume is selected.
$Volume = $args
select partition $volume
select volume $volume