I am trying to deploy a vhd on hyper-v. Can I pass the link of VHD file stored somewhere while running following command:
r= s.run_ps("Add-VMHardDiskDrive -VMName MY_VM3 https://s3.amazonaws.com/mybucket/alpine.vhd ")
S3 bucket is public. I am using pywinrm module of python 3.
I am getting following error: Add-VMHardDiskDrive : Cannot bind parameter \'ControllerType\'. Cannot convert value \n"Link to VHD file" to type "Microsoft.HyperV.PowerShell.ControllerType"