Hello,
I am just getting into scripting backups of Hyper-V VMs using Powershell. I have using 2008 R for the Hyper-V host and 2008 R2 for the server with the network share. I am using Powershell Management Library. I have been able to export the VMs up to the local
VM host. However, I have not been successful in exporting to a network share. I get the stock message:
"Failed to create export directory with error 'General access denied error'(0x80070005): MyVMtoExport (98504EFC-2B8A-43A8-A14D-999B78CFB736)
Failed to create export directory."
I have read about and applied NTFS and share permissions on the folder on the network share. I have given full control to my domain account, the domain Admin account, as well as the machine account of the Hyper-V host.
I have been able to (as the same user), xcopy files from the Hyper-V host to the share. I have also been able to export the VM from Hyper-V manager to the share.
I have gone back an forth checking permissions, but can't seem to export the VM as myself or as the Hyper-V host machine account.