0

To increase disk size, I first replace vmdk with vdi.

"D:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonemedium --format vdi "D:\Users\username\VirtualBox VMs\musicbrainz-vm\musicbrainz-vm-disk1.vmdk" "D:\Users\username\VirtualBox VMs\musicbrainz-vm\cloned-disk1.vdi" 

However, got an error message as following:

At line:1 char:53
+ ... :\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonemedium --forma ...
+                                                       ~~~~~~~~~~~
Unexpected token 'clonemedium' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnexpectedToken

However, I can see 'clonemedium' when I typed ./VboxManage. I also tried with 'clonehd' but still get the error.

O/S Windows 10, VBox 5.2.18

no_name
  • 863
  • 1
  • 7
  • 12
  • 1
    explanation: you are typing your command into powershell and not the normal command line –  Jun 21 '19 at 13:16
  • I think you can still run the classic command line by `Win-R cmd` –  Jun 21 '19 at 13:17
  • @jakub_d Thank you. Using cmd instead of powershell resolved issue without changing command. – no_name Jun 22 '19 at 07:20

0 Answers0