Create a subcommand that allows copying files between client machine and remote virtual machine.
The virtual machine can be specified by index or name.
This can be done using hyper-v console to identify the vm ip address and send or getting the files direct with winrm or ssh.
The command would look like this:
# by index
hypy cp put 10 local_file remote_file
hypy cp get 10 remote_file [local_file]
# by name
hypy cp put -n MYVM local_file remote_file
hypy cp get -n MYVM remote_file [local_file]
Create a subcommand that allows copying files between client machine and remote virtual machine.
The virtual machine can be specified by index or name.
This can be done using hyper-v console to identify the vm ip address and send or getting the files direct with winrm or ssh.
The command would look like this: